forked from postcss/postcss-selector-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 695 Bytes
/
test.yml
File metadata and controls
39 lines (35 loc) · 695 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
name: test
on:
push:
branches:
- 'main'
- 'master'
pull_request:
defaults:
run:
shell: bash
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [14, 16, 18, 20, 22, 24]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: npm ci
run: npm ci --ignore-scripts
- name: test
run: |
case "${{ matrix.node }}" in "20"|"22"|"24")
npm run test:node22
;;*)
npm test
;;
esac