-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 908 Bytes
/
test.yaml
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
name: Test
on: [pull_request, push]
jobs:
typographical-errors:
name: Typographical errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Scan for typographical errors
uses: crate-ci/typos@master
style:
name: Styling
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: biomejs/setup-biome@v2
- name: Run Biome
run: biome ci --reporter=github
typescript:
name: TypeScript
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
uses: pnpm/action-setup@v4
with:
version: 9.14.2
run_install: |
- args: [--frozen-lockfile]
- name: Validate TypeScript
run: pnpm run test