Skip to content

Commit 5480f77

Browse files
Update release-it.yaml
1 parent 4241fb2 commit 5480f77

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/release-it.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@ name: Release to npm
22
on: workflow_dispatch
33

44
jobs:
5-
build:
5+
publish:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v3
8+
- uses: actions/checkout@v2
9+
- uses: actions/setup-node@v2
10+
with:
11+
node-version: '14.x'
12+
cache: 'pnpm'
913
- uses: pnpm/action-setup@v2
1014
with:
11-
version: 7
12-
- run: pnpm install --frozen-lockfile
13-
- run: pnpm test
15+
version: '6.x'
16+
- run: pnpm install
17+
- run: pnpm publish
18+
env:
19+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)