Skip to content

Commit 339dcbc

Browse files
committed
Update GH action
1 parent d0abc34 commit 339dcbc

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

.github/workflows/npm-publish.yml

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ on:
99
workflow_dispatch:
1010

1111
jobs:
12-
build:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- uses: actions/checkout@v4
16-
- uses: actions/setup-node@v4
17-
with:
18-
node-version: 20
19-
- run: cd packages/lib
20-
- run: npm ci
21-
- run: npm run build
12+
# build:
13+
# runs-on: ubuntu-latest
14+
# steps:
15+
# - uses: actions/checkout@v4
16+
# - uses: actions/setup-node@v4
17+
# with:
18+
# node-version: 20
19+
# - run: cd packages/lib
20+
# - run: npm ci
21+
# - run: npm run build
2222

2323
publish-npm:
2424
# needs: build
@@ -29,8 +29,13 @@ jobs:
2929
with:
3030
node-version: 20
3131
registry-url: https://registry.npmjs.org/
32-
- run: cd packages/lib
33-
- run: npm ci
34-
- run: npm publish --access public
32+
33+
- name: Install dependencies
34+
working-directory: ./packages/lib
35+
run: npm ci
36+
37+
- name: Publish
38+
working-directory: ./packages/lib
39+
run: npm publish --access public
3540
env:
3641
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)