Skip to content

Commit e8abdfa

Browse files
mharacewiatjulien-jean
authored andcommitted
Github staging pipeline
1 parent 2ea27af commit e8abdfa

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: release staging
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
coding-style:
10+
name: Probe NodeJs - Code Style
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 3
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: latest
19+
20+
- run: |
21+
make eslint
22+
23+
unit-tests:
24+
name: Probe Node.js ${{ matrix.version }} - Unit tests
25+
runs-on: ubuntu-latest
26+
needs: coding-style
27+
timeout-minutes: 3
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
version:
32+
- 18
33+
- 20
34+
- 21
35+
- 22
36+
steps:
37+
- uses: actions/checkout@v4
38+
39+
- uses: actions/setup-node@v4
40+
with:
41+
node-version: ${{ matrix.version }}
42+
43+
- run: |
44+
make test

0 commit comments

Comments
 (0)