-
-
Notifications
You must be signed in to change notification settings - Fork 37
46 lines (37 loc) · 827 Bytes
/
matrix-testing.yml
File metadata and controls
46 lines (37 loc) · 827 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
44
45
46
name: NodeJS version variation testing
on:
push:
branches:
- 'master'
pull_request:
branches:
- 'master'
workflow_dispatch:
jobs:
matrix-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22, 24]
container: node:${{ matrix.node-version }}
steps:
- name: checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: nodejs version
run: |
node -v
- name: install pnpm
run: |
npm install -g pnpm
- name: install dependencies
run: |
pnpm install
- name: testing
run: |
pnpm dev:test
pnpm dev:format
pnpm dev:lint
pnpm build
echo "All tests passed!"