-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (35 loc) · 890 Bytes
/
ci.yml
File metadata and controls
35 lines (35 loc) · 890 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
name: CI
on:
merge_group: {}
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 24
- 22
- 20
steps:
- name: ⬇️ Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: ⚙️ Setup
uses: w5s/actions/setup@217ea97830913a7d997886472f54fbd47f809b78 # main
with:
node-version: ${{ matrix.node-version }}
- name: 🔨 Build
uses: w5s/actions/task@217ea97830913a7d997886472f54fbd47f809b78 # main
with:
task: build
- name: 🔍 Validate
uses: w5s/actions/task@217ea97830913a7d997886472f54fbd47f809b78 # main
with:
task: validate