Add .gitlab-ci.yml

merge-requests/1/head
Alex Gleason 2020-04-14 13:07:40 -05:00
rodzic 3a6f825a81
commit b34946fc30
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
2 zmienionych plików z 32 dodań i 1 usunięć

31
.gitlab-ci.yml 100644
Wyświetl plik

@ -0,0 +1,31 @@
image: node:12
variables:
NODE_ENV: test
stages:
- lint
- build
- test
before_script:
- yarn
lint-js:
stage: lint
script: yarn test:lint:js
lint-sass:
stage: lint
script: yarn test:lint:sass
build-development:
stage: build
script: yarn build:development
artifacts:
paths:
- public/packs
jest:
stage: test
script: yarn test:jest

Wyświetl plik

@ -62,7 +62,7 @@ The following commands are supported.
- `yarn manage:translations` - Normalizes translation files. Should always be run after editing i18n strings.
#### Tests
- `yarn test` - Runs all tests (recommended for CI).
- `yarn test` - Runs all tests.
- `yarn test:lint` - Runs all linter tests.