Skip to content

Commit d98ad25

Browse files
committed
chore: migrate travis to github actions
Signed-off-by: Jefferson <[email protected]> chore: migrate travis to github actions
1 parent 1542f41 commit d98ad25

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: N|Solid CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
CI:
11+
name: CI with N|Solid ${{ matrix.nsolid-version }} (Node ${{ matrix.node-version }})
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
node-version: [18, 20, 22]
16+
nsolid-version: [5]
17+
fail-fast: false
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Setup N|Solid ${{ matrix.node-version }}
21+
uses: nodesource/setup-nsolid@v1
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
nsolid-version: ${{ matrix.nsolid-version }}
25+
- run: nsolid -vv
26+
- run: npm ci || npm install
27+
- run: npm run test
28+

0 commit comments

Comments
 (0)