We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bee7315 commit fd08b5eCopy full SHA for fd08b5e
.github/workflows/preview-publish.yml
@@ -5,7 +5,32 @@ on:
5
branches: [main]
6
7
jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
+
11
+ steps:
12
+ - uses: actions/checkout@v4
13
14
+ - name: Install pnpm
15
+ uses: pnpm/action-setup@v3
16
+ with:
17
+ version: 10
18
+ run_install: false
19
20
+ - name: Setup Node.js
21
+ uses: actions/setup-node@v4
22
23
+ node-version: '22'
24
+ cache: 'pnpm'
25
26
+ - name: Install dependencies
27
+ run: pnpm install
28
29
+ - name: Run Vitest tests
30
+ run: pnpm test
31
32
publish-preview:
33
+ needs: test
34
runs-on: ubuntu-latest
35
environment:
36
name: npm
0 commit comments