fix: insanity
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
This commit is contained in:
parent
54cc1dfa3d
commit
a6c0c86073
18
.github/workflows/build_and_check.yml
vendored
18
.github/workflows/build_and_check.yml
vendored
@ -7,32 +7,24 @@ on:
|
|||||||
branches: [ "master" ]
|
branches: [ "master" ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
install:
|
run:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Use Node.js 20.x
|
- name: Use Node.js 20
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 20.x
|
node-version: 20
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: 'install'
|
|
||||||
steps:
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
check:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: 'install'
|
|
||||||
steps:
|
|
||||||
- name: Check
|
- name: Check
|
||||||
run: |
|
run: |
|
||||||
npm run start &
|
npm run start &
|
||||||
@ -40,10 +32,6 @@ jobs:
|
|||||||
npm run check
|
npm run check
|
||||||
|
|
||||||
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: 'build'
|
|
||||||
steps:
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run : |
|
run : |
|
||||||
npm run start &
|
npm run start &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user