File tree Expand file tree Collapse file tree 5 files changed +1034
-881
lines changed
Expand file tree Collapse file tree 5 files changed +1034
-881
lines changed Original file line number Diff line number Diff line change 1111 strategy :
1212 matrix :
1313 node_version :
14- - 18 # end of life 2025-04-30
15- - 20 # end of life 2025-04-30 # please update "Upload coverage file" step if you change this
14+ - 22 # end of life 2027-04-30 # coverage file uploaded from this version
1615 name : build-lint-test - node ${{ matrix.node_version }}
1716 steps :
1817 - name : Check out Git repository
5756
5857 - name : Upload coverage file
5958 uses : actions/upload-artifact@v4
60- if : ${{ matrix.node_version == '20' }}
6159 with :
6260 name : coverage-report
6361 path : ./coverage/lcov.info
Original file line number Diff line number Diff line change @@ -10,14 +10,17 @@ jobs:
1010 release :
1111 name : release
1212 runs-on : ubuntu-latest
13+ permissions :
14+ contents : write
15+ id-token : write
1316 steps :
1417 - name : Check out Git repository
1518 uses : actions/checkout@v3
1619
1720 - name : Set up Node.js
1821 uses : actions/setup-node@v3
1922 with :
20- node-version : 20
23+ node-version : 22
2124
2225 - name : Get yarn cache
2326 uses : actions/cache@v3
3538 - name : Build
3639 run : yarn build
3740
38- # update registry and tokens with write access for releasing.
41+ # Configure registry for GitHub Packages
3942 - run : rm ./.npmrc
40- - run : npm config set '//registry.npmjs.org/:_authToken' $NPM_TOKEN
4143 - run : npm config set '//npm.pkg.github.com/:_authToken' $GH_TOKEN
4244 env :
4345 GH_TOKEN : ${{ secrets.GH_TOKEN }}
4648 if : ${{ contains(github.ref, 'refs/heads/main') || contains(github.ref, 'refs/heads/beta') }}
4749 run : yarn release
4850 env :
49- GH_TOKEN : ${{ secrets.GH_TOKEN }}
50- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
51+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
Original file line number Diff line number Diff line change 2121 "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
2222 }
2323 }],
24- "@semantic-release/npm",
24+ ["@semantic-release/npm", {
25+ "npmPublish": true,
26+ "provenance": true
27+ }],
2528 ["@semantic-release/exec", {
2629 "successCmd": "yarn publish:github"
2730 }],
Original file line number Diff line number Diff line change 6565 "@semantic-release/commit-analyzer" : " ^11.1.0" ,
6666 "@semantic-release/exec" : " ^6.0.3" ,
6767 "@semantic-release/github" : " ^9.2.4" ,
68- "@semantic-release/npm" : " ^11.0 .1" ,
68+ "@semantic-release/npm" : " ^13.1 .1" ,
6969 "@typeform/eslint-config" : " ^6.0.3" ,
7070 "@types/jest" : " ^24.0.18" ,
7171 "axios-mock-adapter" : " ^1.22.0" ,
You can’t perform that action at this time.
0 commit comments