-
Notifications
You must be signed in to change notification settings - Fork 8
43 lines (33 loc) · 826 Bytes
/
check.yml
File metadata and controls
43 lines (33 loc) · 826 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: Test
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
command: ['lint:ci', 'typecheck']
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 'latest'
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: Build (1/2)
run: bun install --frozen-lockfile
continue-on-error: true
- name: Build (2/2)
run: bun install --frozen-lockfile
- name: ${{ matrix.command }}
run: bun run ${{ matrix.command }}