File tree Expand file tree Collapse file tree 2 files changed +17
-19
lines changed
Expand file tree Collapse file tree 2 files changed +17
-19
lines changed Original file line number Diff line number Diff line change @@ -4,23 +4,22 @@ on: [push]
44
55jobs :
66 build :
7-
87 runs-on : ubuntu-latest
98
109 steps :
11- - uses : actions/checkout@v4
12- - name : Use Node.js 20
13- uses : actions/setup-node@v4
14- with :
15- node-version : 20
10+ - uses : actions/checkout@v4
11+ - name : Use Node.js 22
12+ uses : actions/setup-node@v4
13+ with :
14+ node-version : 22
1615
17- - name : npm install, lint, build, and test
18- run : |
19- npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
20- yarn install --immutable
21- yarn lint
22- yarn build
23- yarn test --coverage
24- env :
25- NPM_TOKEN : ${{secrets.npm_token}}
26- CI : true
16+ - name : npm install, lint, build, and test
17+ run : |
18+ npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
19+ yarn install --immutable
20+ yarn lint
21+ yarn build
22+ yarn test --coverage
23+ env :
24+ NPM_TOKEN : ${{secrets.npm_token}}
25+ CI : true
Original file line number Diff line number Diff line change 1212 - uses : actions/checkout@v4
1313 - uses : actions/setup-node@v4
1414 with :
15- node-version : 20
15+ node-version : 22
1616 - run : |
1717 npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
1818 yarn install --immutable
2929 - uses : actions/checkout@v4
3030 - uses : actions/setup-node@v4
3131 with :
32- node-version : 20
32+ node-version : 22
3333 registry-url : https://registry.npmjs.org/
3434 - run : yarn install --immutable
3535 - run : yarn build
3939 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
4040 run : |
4141 yarn dlx semantic-release
42-
You can’t perform that action at this time.
0 commit comments