File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,11 +10,15 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v3
13+ - uses : pnpm/action-setup@v2
14+ with :
15+ version : 7
1316 - uses : actions/setup-node@v3
1417 with :
15- node-version : 18
18+ node-version : 16
1619 registry-url : https://registry.npmjs.org/
20+ cache : ' pnpm'
1721 - run : make
18- - run : npm publish --access=public
22+ - run : pnpm publish --access=public --no-git-checks
1923 env :
2024 NODE_AUTH_TOKEN : ${{secrets.npm_token}}
Original file line number Diff line number Diff line change @@ -2,15 +2,19 @@ name: Unit Tests (PR)
22
33on :
44 pull_request :
5- branches : ['master']
5+ branches : ['canary', ' master']
66
77jobs :
88 test :
99 runs-on : ubuntu-latest
1010 steps :
1111 - uses : actions/checkout@v3
12+ - uses : pnpm/action-setup@v2
13+ with :
14+ version : 7
1215 - uses : actions/setup-node@v3
1316 with :
14- node-version : 18
17+ node-version : 16
1518 registry-url : https://registry.npmjs.org/
19+ cache : ' pnpm'
1620 - run : make test
You can’t perform that action at this time.
0 commit comments