Skip to content

Commit d339625

Browse files
committed
FIX: build package during release workflow
1 parent eeaf7d0 commit d339625

1 file changed

Lines changed: 15 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,23 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
11+
12+
- name: check out repo
13+
uses: actions/checkout@v3
14+
15+
- name: set up Node.js
16+
uses: actions/setup-node@v3
1317
with:
1418
node-version: 16
1519
registry-url: https://registry.npmjs.org/
16-
- run: npm ci
17-
- run: npm publish
20+
21+
- name: install dependencies
22+
run: npm ci
23+
24+
- name: build library
25+
run: npm run build
26+
27+
- name: publish package to npm
28+
run: npm publish
1829
env:
1930
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)