-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (35 loc) · 840 Bytes
/
test.yml
File metadata and controls
36 lines (35 loc) · 840 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
name: tests
on:
push:
branches-ignore: [main]
workflow_dispatch:
jobs:
unit-tests:
strategy:
matrix:
os: ["ubuntu-latest", "windows-latest"]
node_version: [lts/-1, lts/*, latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
cache: true
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node_version }}
cache: pnpm
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: latest
- run: pnpm install
- name: Run Biome
run: biome ci .
- run: pnpm run build
- run: pnpm run test