forked from wallet42/node-forknote-util
-
Notifications
You must be signed in to change notification settings - Fork 82
66 lines (54 loc) · 1.58 KB
/
stability.yml
File metadata and controls
66 lines (54 loc) · 1.58 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
name: Stability
on:
pull_request:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: read
concurrency:
group: stability-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: ${{ matrix.os }} / Node ${{ matrix.node }}
runs-on: ${{ matrix.os }}
timeout-minutes: 25
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-24.04
node: 24
- os: ubuntu-latest
node: 24
- os: macos-latest
node: 24
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node }}
package-manager-cache: false
- name: Setup npm
run: npm install -g npm@11.10.0
- name: Install Linux build dependencies
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-get update
sudo apt-get install -y libboost-date-time-dev libsodium-dev
- name: Install macOS build dependencies
if: startsWith(matrix.os, 'macos')
run: |
brew install boost libsodium
echo "CPATH=$(brew --prefix boost)/include:$(brew --prefix libsodium)/include" >> "$GITHUB_ENV"
echo "LIBRARY_PATH=$(brew --prefix boost)/lib:$(brew --prefix libsodium)/lib" >> "$GITHUB_ENV"
- name: Show Node.js version
run: node -v
- name: Install dependencies
run: npm install --no-audit --no-fund --no-package-lock
- name: Run fast stability suite
run: npm test