forked from percy/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 757 Bytes
/
Copy pathtypecheck.yml
File metadata and controls
30 lines (30 loc) · 757 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
name: Typecheck
on:
push:
branches: [master]
pull_request:
workflow_dispatch:
jobs:
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v3
with:
node-version: 14
- uses: actions/cache@v3
with:
path: |
node_modules
packages/*/node_modules
packages/core/.local-chromium
key: >
${{ runner.os }}/node-14/
${{ hashFiles('.github/.cache-key') }}/
${{ hashFiles('**/yarn.lock') }}
restore-keys: >
${{ runner.os }}/node-14/
${{ hashFiles('.github/.cache-key') }}/
- run: yarn
- run: yarn test:types