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 6a48ee0 commit f21ffe2Copy full SHA for f21ffe2
.github/workflows/pr-checks.yml
@@ -12,7 +12,8 @@ on:
12
- 'docs/**'
13
14
jobs:
15
- validate:
+ test:
16
+ name: Test
17
runs-on: ubuntu-latest
18
steps:
19
- uses: actions/checkout@v4
@@ -31,10 +32,28 @@ jobs:
31
32
run: npm ci
33
34
- name: Run tests
- id: test
35
working-directory: ./package
36
run: npm test
37
38
+ validate:
39
+ needs: test
40
+ runs-on: ubuntu-latest
41
+ steps:
42
+ - uses: actions/checkout@v4
43
+ with:
44
+ ref: ${{ github.head_ref }}
45
+
46
+ - name: Setup Node.js
47
+ uses: actions/setup-node@v4
48
49
+ node-version: '20.x'
50
+ cache: 'npm'
51
+ cache-dependency-path: 'package/package-lock.json'
52
53
+ - name: Install dependencies
54
+ working-directory: ./package
55
+ run: npm ci
56
57
- name: Format code
58
id: format
59
0 commit comments