Skip to content

Commit a0a12bf

Browse files
committed
new version.
1 parent 682722b commit a0a12bf

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,26 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15+
- uses: pnpm/action-setup@v4
1516
- uses: actions/setup-node@v4
1617
with:
1718
node-version: 20
18-
- run: npm ci
19-
#- run: npm test
19+
cache: pnpm
20+
- run: pnpm install --frozen-lockfile
21+
#- run: pnpm test
2022

2123
publish-npm:
2224
needs: build
2325
runs-on: ubuntu-latest
2426
steps:
2527
- uses: actions/checkout@v4
28+
- uses: pnpm/action-setup@v4
2629
- uses: actions/setup-node@v4
2730
with:
2831
node-version: 20
2932
registry-url: https://registry.npmjs.org/
30-
- run: npm ci
31-
- run: npm publish
33+
cache: pnpm
34+
- run: pnpm install --frozen-lockfile
35+
- run: pnpm publish --no-git-checks
3236
env:
3337
NODE_AUTH_TOKEN: ${{secrets.NPM_ACCESS_TOKEN}}

0 commit comments

Comments
 (0)