-
Notifications
You must be signed in to change notification settings - Fork 126
73 lines (58 loc) · 1.73 KB
/
Copy pathnodejs.yml
File metadata and controls
73 lines (58 loc) · 1.73 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
merge_group:
jobs:
check:
runs-on: ubuntu-latest
concurrency:
group: check-${{ github.workflow }}-#${{ github.event.pull_request.number || github.head_ref || github.ref }}
cancel-in-progress: true
steps:
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Setup Vite+
uses: voidzero-dev/setup-vp@v1
with:
node-version: '24'
cache: true
sfw: true
- name: Check
run: vp run check
- name: Check dedupe
run: vp dedupe --check
- name: Run typecheck
run: vp run typecheck
- name: Run build check
run: vp run build
test:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
node: ['22', '24', '26']
name: Test (${{ matrix.os }}, ${{ matrix.node }})
runs-on: ${{ matrix.os }}
concurrency:
group: test-${{ github.workflow }}-#${{ github.event.pull_request.number || github.head_ref || github.ref }}-(${{ matrix.os }}, ${{ matrix.node }})
cancel-in-progress: true
permissions:
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Setup Vite+
uses: voidzero-dev/setup-vp@v1
with:
node-version: ${{ matrix.node }}
cache: true
sfw: true
- name: Run tests
run: vp run ci
- name: Code Coverage
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7
with:
use_oidc: true