-
Notifications
You must be signed in to change notification settings - Fork 6
33 lines (31 loc) Β· 1000 Bytes
/
ci-tools.yaml
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
name: CI - Tools
on:
push:
branches:
- '**'
jobs:
ci_tools:
runs-on: ubuntu-latest
strategy:
matrix:
# even numbers are LTS; ods go to ~3m maintenance after next major version
# 16 is min version recommended to users; but unmaintained since 2023-10
# 18 released 2022-04-19 - maintained until June 2025
# 20 maintained until June 2026
# 21 released Oct 2023; superseded in May 2024
# latest is the 22 as of May 2024; 23 coming in Oct 2024
node-version: [ 18, 20, 21, latest]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: ./tools/psoxy-test
- name: Install dependencies
working-directory: ./tools/psoxy-test
run: npm i
- name: Run test
working-directory: ./tools/psoxy-test
run: npm test