Skip to content

Commit 59f5bcf

Browse files
committed
Updated release to use test
1 parent 6b0a7e1 commit 59f5bcf

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,23 @@
1-
name: Test
1+
name: Release
22
on:
33
release:
44
types: [created]
55
jobs:
6+
run-test:
7+
name: Just tests
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version: 24.x
14+
- name: Install deps
15+
run: npm i
16+
- name: run test
17+
run: npx vitest run
618
deploy:
719
name: Deploy on npm
20+
needs: run-test
821
runs-on: ubuntu-latest
922
steps:
1023
- name: Checkout repo

0 commit comments

Comments
 (0)