-
-
Notifications
You must be signed in to change notification settings - Fork 10
43 lines (38 loc) · 906 Bytes
/
typechecking.yml
File metadata and controls
43 lines (38 loc) · 906 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
name: Typechecking
on:
push:
branches:
- main
paths:
- '**.ts'
- '**.vue'
- '**/tsconfig.json'
- 'package-lock.json'
- '.github/workflows/typechecking.yml'
pull_request:
paths:
- '**.ts'
- '**.vue'
- '**/tsconfig.json'
- 'package-lock.json'
- '.github/workflows/typechecking.yml'
defaults:
run:
shell: 'bash'
jobs:
typescript:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.1.0
with:
version: 6.30.1
run_install: true
- uses: actions/setup-node@v2
with:
node-version: 16 # Need for npm >=7.7
cache: 'pnpm'
# TODO: Install not all dependencies, but only those required for this workflow
# - name: Install dependencies
# run: pnpm install
- run: pnpm run typecheck