Linting before build

This commit is contained in:
Jarosław Sadziński 2022-12-27 19:59:42 +01:00
parent 7ff2ca954c
commit b0555564ac

View File

@ -37,6 +37,9 @@ jobs:
- name: Install Node.js packages - name: Install Node.js packages
run: yarn install run: yarn install
- name: Run eslint
run: yarn run lint:ci
- name: Make sure bucket is versioned - name: Make sure bucket is versioned
env: env:
AWS_ACCESS_KEY_ID: administrator AWS_ACCESS_KEY_ID: administrator
@ -46,8 +49,6 @@ jobs:
- name: Build Node.js code - name: Build Node.js code
run: yarn run build:prod run: yarn run build:prod
- name: Run eslint
run: yarn run lint:ci
- name: Run smoke test - name: Run smoke test
run: VERBOSE=1 DEBUG=1 MOCHA_WEBDRIVER_HEADLESS=1 yarn run test:smoke run: VERBOSE=1 DEBUG=1 MOCHA_WEBDRIVER_HEADLESS=1 yarn run test:smoke