File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 publish-npm :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v2
13- - uses : actions/setup-node@v1
12+ - uses : actions/checkout@v3
13+ - uses : pnpm/action-setup@v2
1414 with :
15- node-version : 18
15+ version : 7
16+ - uses : actions/setup-node@v3
17+ with :
18+ node-version : 20
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 :
11- - uses : actions/checkout@v2
12- - uses : actions/setup-node@v1
11+ - uses : actions/checkout@v3
12+ - uses : pnpm/action-setup@v2
1313 with :
14- node-version : 18
14+ version : 7
15+ - uses : actions/setup-node@v3
16+ with :
17+ node-version : 20
1518 registry-url : https://registry.npmjs.org/
19+ cache : ' pnpm'
1620 - run : make test
Original file line number Diff line number Diff line change 1- 18
1+ 20
Original file line number Diff line number Diff line change 4545 "constructs" : " ^10.1.53"
4646 },
4747 "engines" : {
48- "node" : " >=18 .0.0"
48+ "node" : " >=20 .0.0"
4949 }
5050}
You can’t perform that action at this time.
0 commit comments