fix: insanity

Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
This commit is contained in:
Florian Bouillon 2023-07-04 15:44:17 +02:00
parent 54cc1dfa3d
commit a6c0c86073

View File

@ -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 &