-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (37 loc) · 839 Bytes
/
Copy pathci.yml
File metadata and controls
46 lines (37 loc) · 839 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: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- "22"
- "24"
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Node
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install from lockfile
run: npm ci --no-audit --no-fund --loglevel=error
- name: Tests
run: npm test
- name: Dependency audit
run: npm audit --omit=dev --audit-level=critical