-
Notifications
You must be signed in to change notification settings - Fork 25
44 lines (33 loc) · 754 Bytes
/
check.yml
File metadata and controls
44 lines (33 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
env:
WIREIT_FAILURES: kill
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-node@v6
with:
node-version: 20
cache: 'npm'
- uses: google/wireit@setup-github-actions-caching/v2
- run: npm ci
- run: npm run check
timeout-minutes: 10
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 20
cache: 'npm'
- uses: google/wireit@setup-github-actions-caching/v2
- run: npm ci
- run: npm run test
timeout-minutes: 10
on:
pull_request:
branches:
- main