Skip to content

Commit eb8f8b7

Browse files
committed
fix: publish and test separately
1 parent 5b28bb1 commit eb8f8b7

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/publish.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,26 @@ on:
55
- published
66

77
jobs:
8+
tests:
9+
uses: ./.github/workflows/tests.yml
10+
811
publish:
912
runs-on: ubuntu-latest
1013

1114
steps:
1215
- uses: actions/checkout@v4
13-
- uses: ./.github/workflows/tests.yml
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 22
20+
21+
- name: Install dependencies
22+
run: |
23+
npm install
24+
1425
- name: build
1526
run: npm run build
27+
1628
- name: publish
1729
env:
1830
NPM_TOKEN: ${{ secrets.WORKFLOW_AUTO_PUBLISH }}

0 commit comments

Comments
 (0)