File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 11name : Publish Package to npmjs
22on :
3- release :
4- types : [published]
3+ push :
4+ tags :
5+ - ' **[0-9]+.[0-9]+.[0-9]+*'
6+
57jobs :
68 build :
79 runs-on : ubuntu-latest
@@ -15,18 +17,22 @@ jobs:
1517 - name : Install pnpm
1618 uses : pnpm/action-setup@v4
1719 with :
18- version : 9
20+ version : 10
1921
2022 - name : Setup Node.js
2123 uses : actions/setup-node@v4
2224 with :
23- node-version : ' 20 .x'
25+ node-version : ' 22 .x'
2426 cache : ' pnpm'
27+ registry-url : ' https://registry.npmjs.org/'
28+ scope : ' @pomsky-lang'
2529
2630 - run : pnpm install
2731
28- - run : |
29- pnpm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
30- pnpm publish --access public --no-git-checks
32+ - name : Check current npm config
33+ run : npm config list
34+
35+ - run : pnpm publish --access public --no-git-checks
3136 env :
37+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
3238 NPM_CONFIG_PROVENANCE : true
You can’t perform that action at this time.
0 commit comments