File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,14 +24,10 @@ jobs:
2424 with :
2525 file-url : https://unpkg.com/bungie-api-ts@latest/package.json
2626 static-checking : localIsNew
27-
28- - uses : pnpm/action-setup@v4
29-
30- - name : Upgrade NPM
27+
28+ - name : pnpm setup
3129 if : steps.check.outputs.changed == 'true'
32- run : |
33- npm install -g npm@latest
34- npm --version
30+ uses : pnpm/action-setup@v4
3531
3632 - name : Setup Node
3733 if : steps.check.outputs.changed == 'true'
4036 node-version-file : ' .nvmrc'
4137 registry-url : https://registry.npmjs.org/
4238
39+ - name : Install
40+ if : steps.check.outputs.changed == 'true'
41+ run : pnpm install --frozen-lockfile --prefer-offline
42+
4343 - name : Publish the package to NPM
4444 if : steps.check.outputs.changed == 'true'
45- run : cd lib && npm publish --provenance
45+ run : |
46+ cd lib
47+ npm install -g npm@latest
48+ npm publish --access public --provenance
You can’t perform that action at this time.
0 commit comments