Skip to content

Commit 97af59c

Browse files
committed
run tests in publish workflow
1 parent 9e18b4b commit 97af59c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ permissions:
1515
id-token: write
1616

1717
jobs:
18+
test:
19+
uses: ./.github/workflows/tests.yml
20+
1821
publish:
1922
runs-on: ubuntu-latest
23+
needs: test
2024

2125
steps:
2226
- uses: actions/checkout@v4
@@ -43,3 +47,4 @@ jobs:
4347
- run: npm publish --provenance --access public
4448
env:
4549
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
50+

0 commit comments

Comments
 (0)