Skip to content

Commit

Permalink
https://github.com/actions/setup-node/issues/641
Browse files Browse the repository at this point in the history
  • Loading branch information
maximveksler committed Dec 15, 2022
0 parents commit 6f80832
Show file tree
Hide file tree
Showing 7 changed files with 111 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Tests

on:
push:
branches:
- master
pull_request:

jobs:
exec:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: pnpm/action-setup@v2
with:
version: 7

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 14
cache: "pnpm"

- run: pnpm install --aggregate-output --reporter append-only --frozen-lockfile
28 changes: 28 additions & 0 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Version

on:
push:
branches:
- master

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: pnpm/action-setup@v2
with:
version: 7

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: "pnpm"

- run: pnpm install --aggregate-output --reporter append-only --frozen-lockfile
1 change: 1 addition & 0 deletions apps/demo/node_modules/muhammara

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions apps/demo/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "demo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"muhammara": "^3.5.0"
}
}
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "core",
"version": "1.0.0",
"description": "",
"private": true,
"scripts": {
},
"keywords": [],
"author": "",
"devDependencies": {
}
}
22 changes: 22 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# pnpm-workspace.yaml
packages:
# executable/launchable applications
- "apps/*"
# all packages in subdirs of packages/ and components/
- "libs/*"

0 comments on commit 6f80832

Please sign in to comment.