-
-
Notifications
You must be signed in to change notification settings - Fork 435
30 lines (27 loc) · 714 Bytes
/
Copy pathmain.yml
File metadata and controls
30 lines (27 loc) · 714 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
name: Builds, tests & co
on:
- push
- pull_request
permissions: read-all
jobs:
build-and-test:
strategy:
fail-fast: false
matrix:
node-version: [25, 24, 22, 20]
runs-on: ubuntu-latest
steps:
- name: Checkout tree
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Set-up Mise
uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1
with:
cache: false
mise_toml: |
[tools]
node = "${{ matrix.node-version }}"
yarn = "4"
- run: yarn install --immutable
- run: yarn format:check
- run: yarn build
- run: yarn test