Commit 95271e52 authored by David Sveningsson's avatar David Sveningsson Committed by David Sveningsson
Browse files

ci: use shared ci config

parent 020a1d5f
Pipeline #219338638 passed with stages
in 15 minutes and 9 seconds
......@@ -2,6 +2,10 @@ image: node:latest
include:
- template: License-Scanning.gitlab-ci.yml
- project: "html-validate/gitlab-ci"
file:
- "/templates/build.yml"
- "/templates/lint.yml"
stages:
- prepare
......@@ -22,17 +26,6 @@ NPM:
- npm --version
- npm ci
Build:
stage: build
artifacts:
name: ${CI_PROJECT_PATH_SLUG}-${CI_PIPELINE_ID}-build
paths:
- dist/
script:
- npm run build
- npm pack
- npx npm-pkg-lint
pages:
stage: build
artifacts:
......@@ -52,12 +45,6 @@ Changelog:
script:
- npm run commitlint -- --from=origin/master --to=${CI_COMMIT_SHA}
ESLint:
stage: test
needs: ["NPM"]
script:
- npm run eslint -- --max-warnings 0
Jest:
stage: test
dependencies: ["NPM"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment