File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717 # Checkout project repository
1818 - name : Checkout
19- uses : actions/checkout@v3
19+ uses : actions/checkout@v4
2020 with :
2121 fetch-depth : 0
2222
@@ -28,34 +28,17 @@ jobs:
2828
2929 # Setup Node.js environment
3030 - name : Setup Node.js
31- uses : actions/setup-node@v3
31+ uses : actions/setup-node@v4
3232 with :
3333 registry-url : https://registry.npmjs.org/
34- node-version : lts/*
34+ node-version : latest
3535
3636 # Install pnpm
37- - uses : pnpm/action-setup@v2
37+ - uses : pnpm/action-setup@v4
3838 name : Install pnpm
3939 id : pnpm-install
4040 with :
41- version : 8
42- run_install : false
43-
44- # Setup pnpm store
45- - name : Get pnpm store directory
46- id : pnpm-cache
47- shell : bash
48- run : |
49- echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
50-
51- # Use cache to reduce installation time
52- - uses : actions/cache@v3
53- name : Setup pnpm cache
54- with :
55- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
56- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
57- restore-keys : |
58- ${{ runner.os }}-pnpm-store-
41+ version : 10
5942
6043 # Install dependencies
6144 - name : Install dependencies
7558 - name : Release
7659 run : pnpx release-it --ci
7760 env :
78- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
61+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -12,3 +12,5 @@ coverage
1212.DS_Store
1313.eslintcache
1414* .env *
15+
16+ .npmrc
Original file line number Diff line number Diff line change 1313 "comments" : true
1414 },
1515 "npm" : {
16- "publish" : true ,
17- "skipChecks" : true
16+ "publish" : true
1817 },
1918 "hooks" : {
2019 "before:init" : " git fetch --tags"
3130 }
3231 }
3332 }
34- }
33+ }
You can’t perform that action at this time.
0 commit comments