Skip to content

Commit e1f0303

Browse files
Update npm-publish.yml
1 parent 944f6cf commit e1f0303

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/npm-publish.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@
44
name: NPM publish
55

66
on:
7-
release:
8-
types: [created]
7+
release:
8+
types: [created]
99

1010
jobs:
11-
publish-npm:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/setup-node@v4
16-
with:
17-
node-version: 22
18-
registry-url: https://registry.npmjs.org/
19-
- run: npm install -g corepack@latest
20-
- run: corepack enable
21-
- run: pnpm install --frozen-lockfile
22-
- run: pnpm -r publish
23-
env:
24-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
11+
publish-npm:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: 22
18+
registry-url: https://registry.npmjs.org/
19+
- run: npm install -g corepack@latest
20+
- run: corepack enable
21+
- run: pnpm install --frozen-lockfile
22+
- run: pnpm -r publish
23+
env:
24+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)