mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-09 18:19:10 +00:00
35 lines
649 B
YAML
35 lines
649 B
YAML
# This file is a template, and might need editing before it works on your project.
|
|
# Official framework image. Look for the different tagged releases at:
|
|
# https://hub.docker.com/r/library/node/tags/
|
|
image: node:8
|
|
|
|
stages:
|
|
- lint
|
|
- build
|
|
- test
|
|
|
|
lint:
|
|
stage: lint
|
|
script:
|
|
- yarn
|
|
- npm run lint
|
|
|
|
test:
|
|
stage: test
|
|
variables:
|
|
APT_CACHE_DIR: apt-cache
|
|
script:
|
|
- mkdir -pv $APT_CACHE_DIR && apt-get -qq update
|
|
- apt install firefox-esr -y --no-install-recommends
|
|
- firefox --version
|
|
- yarn
|
|
- npm run unit
|
|
|
|
build:
|
|
stage: build
|
|
script:
|
|
- yarn
|
|
- npm run build
|
|
artifacts:
|
|
paths:
|
|
- dist/
|