File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 types :
77 - completed
88 branches :
9- - master
9+ - main
1010
1111jobs :
1212 publish :
@@ -27,21 +27,17 @@ jobs:
2727 - name : Setup Node.js
2828 uses : actions/setup-node@v4
2929 with :
30- node-version : " 20 "
30+ node-version : " 24 "
3131 cache : " npm"
32- registry-url : https://registry.npmjs.org
33- cache-dependency-path : package-lock.json
34- env :
35- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
3632
3733 - name : Install dependencies
38- run : npm install
34+ run : npm ci
3935
4036 - name : Build the project
4137 run : npm run build
4238
4339 - name : Release
4440 env :
4541 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
47- run : npx semantic-release
42+ NPM_CONFIG_PROVENANCE : true
43+ run : npx semantic-release
Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ name: CI Pipeline
33on :
44 push :
55 branches :
6- - master
6+ - main
77 pull_request :
88 branches :
9- - master
9+ - main
1010
1111jobs :
1212 build :
@@ -19,23 +19,11 @@ jobs:
1919 - name : Setup Node.js
2020 uses : actions/setup-node@v4
2121 with :
22- node-version : " 20 "
22+ node-version : " 24 "
2323 cache : " npm"
24- registry-url : https://registry.npmjs.org
25- cache-dependency-path : package-lock.json
26-
27- - name : Retrieve dependencies
28- id : " modules_cache"
29- uses : actions/cache@v4
30- with :
31- path : node_modules
32- key : node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
33- restore-keys : |
34- node-modules-${{ runner.os }}-
3524
3625 - name : Install dependencies
37- if : steps.modules_cache.outputs.cache-hit != 'true'
38- run : npm install
26+ run : npm ci
3927
4028 - name : Run typescript
4129 run : npm run tsc
4735 run : npm run test
4836
4937 - name : Build the project
50- run : npm run build
38+ run : npm run build
Original file line number Diff line number Diff line change 2828 },
2929 "readme" : " ./README.md" ,
3030 "release" : {
31- "branches" : [
32- " master"
33- ],
31+ "branches" : [" main" ],
3432 "verifyConditions" : [
3533 " @semantic-release/github" ,
3634 " @semantic-release/npm"
You can’t perform that action at this time.
0 commit comments