Skip to content

Commit 3f0ef2b

Browse files
RyanLCox1claude
andcommitted
Fix publish workflow to build before running tests
The test file test_ExtractExample.ts imports from dist/esm/index.mjs, which requires the build step to complete first. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4cc1527 commit 3f0ef2b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
- name: Install dependencies
2222
run: npm ci
2323

24-
- name: Run tests
25-
run: npm test
26-
2724
- name: Build
2825
run: npm run build
2926

27+
- name: Run tests
28+
run: npm test
29+
3030
- name: Set version from tag
3131
run: |
3232
VERSION=${GITHUB_REF#refs/tags/}

0 commit comments

Comments
 (0)