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" ]
|
||||
|
||||
jobs:
|
||||
install:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js 20.x
|
||||
- name: Use Node.js 20
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20.x
|
||||
node-version: 20
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
needs: 'install'
|
||||
steps:
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
needs: 'install'
|
||||
steps:
|
||||
- name: Check
|
||||
run: |
|
||||
npm run start &
|
||||
@ -40,10 +32,6 @@ jobs:
|
||||
npm run check
|
||||
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
needs: 'build'
|
||||
steps:
|
||||
- name: Test
|
||||
run : |
|
||||
npm run start &
|
||||
|
Loading…
x
Reference in New Issue
Block a user