FE for Bae.st https://bae.st
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pleroma-fe/.gitlab-ci.yml

48 lines
947 B

6 years ago
# 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/
2 months ago
image: node:16
6 years ago
stages:
6 years ago
- lint
- build
- test
- deploy
6 years ago
lint:
stage: lint
script:
- yarn
- npm run lint
- npm run stylelint
6 years ago
6 years ago
test:
stage: test
3 years ago
variables:
APT_CACHE_DIR: apt-cache
6 years ago
script:
3 years ago
- mkdir -pv $APT_CACHE_DIR && apt-get -qq update
- apt install firefox-esr -y --no-install-recommends
- firefox --version
- yarn
- yarn unit
6 years ago
build:
stage: build
6 years ago
script:
- yarn
6 years ago
- npm run build
6 years ago
artifacts:
paths:
- dist/
docs-deploy:
stage: deploy
image: alpine:latest
only:
- develop@pleroma/pleroma-fe
before_script:
- apk add curl
script:
- curl -X POST -F"token=$DOCS_PIPELINE_TRIGGER" -F'ref=master' https://git.pleroma.social/api/v4/projects/673/trigger/pipeline