-
Notifications
You must be signed in to change notification settings - Fork 0
86 lines (81 loc) · 2.27 KB
/
Copy pathvalidate.yml
File metadata and controls
86 lines (81 loc) · 2.27 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
74
75
76
77
78
79
80
81
82
83
84
85
86
name: Validate WindStack SDK
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
permissions:
contents: read
concurrency:
group: windstack-validate-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Check out repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version-file: ".nvmrc"
package-manager-cache: false
- name: Install dependencies
run: npm ci
- name: Check formatting
run: npm run format:check
- name: Lint sources
run: npm run lint
- name: Check release metadata
run: npm run check:release
env:
RELEASE_BASE_REF: ${{ github.event.pull_request.base.sha || github.event.before }}
- name: Build native Antelope packages
run: npm run build:native
- name: Test native Antelope packages
run: npm run test:native
- name: Test Vexanium ABI fixtures
run: npm run test:vexanium-abi
- name: Build all packages
run: npm run build
- name: Check types
run: npm run typecheck
- name: Run regression tests
run: npm test
- name: Check all package tarballs
run: npm run pack:dry-run
- name: Audit installed release tarballs
run: npm run audit:release
- name: Audit all dependencies
run: npm audit
- name: Audit native production dependencies
run: npm run audit:native
runtime-compatibility:
name: Node.js ${{ matrix.node-version }} compatibility
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
node-version:
- "20.19.0"
- "22.x"
- "24.x"
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
package-manager-cache: false
- name: Install dependencies
run: npm ci
- name: Build all packages
run: npm run build
- name: Run regression tests
run: npm test