File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -24,22 +24,11 @@ jobs:
2424 with :
2525 fetch-depth : 0
2626
27- - name : Install Node
28- uses : actions/setup-node@v4
27+ - name : Setup PNPM
28+ uses : ./.github/ actions/setup-pnpm
2929 with :
3030 node-version : 22
31-
32- - name : Install PNPM
33- run : npm i pnpm@latest -g
34-
35- - name : Setup npmrc
36- run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
37-
38- - name : setup pnpm config
39- run : pnpm config set store-dir $PNPM_CACHE_FOLDER
40-
41- - name : Install Package
42- run : pnpm install
31+ npm-token : ${{ secrets.NPM_TOKEN }}
4332
4433 - name : Build Package
4534 run : pnpm run build
5241 cd packages/$PACKAGE_NAME
5342 pnpm publish --no-git-checks --provenance --access public
5443 env :
55- NODE_AUTH_TOKEN : ${{secrets.npm_token }}
44+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments