-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (32 loc) · 981 Bytes
/
code-qa.yml
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
name: Code QA
on: [push]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: Lint
action: pnpm lint
- name: Typecheck
action: pnpm ts:check
- name: Deadcode
action: pnpm deadcode
- name: Test
action: pnpm test
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8.15.6
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
cache-dependency-path: pnpm-lock.yaml
- name: ${{ matrix.name }}
run: |
pnpm install --frozen-lockfile
${{ matrix.action }}