mirror of
https://gitlab.com/KevinRoebert/ClearUrls
synced 2025-12-18 07:05:37 +07:00
Changes
This commit is contained in:
@@ -6,6 +6,7 @@ before_script:
|
||||
- apt-get install -y zip unzip nodejs jsonlint
|
||||
|
||||
stages:
|
||||
- install
|
||||
- test
|
||||
- build
|
||||
- deploy
|
||||
@@ -36,6 +37,26 @@ hash rules:
|
||||
changes:
|
||||
- data/data.min.json
|
||||
|
||||
install addon:
|
||||
stage: install
|
||||
script:
|
||||
- npm install
|
||||
cache:
|
||||
paths:
|
||||
- node_modules/
|
||||
artifacts:
|
||||
expire_in: 7 days
|
||||
when: on_success
|
||||
paths:
|
||||
- node_modules/
|
||||
|
||||
test addon:
|
||||
stage: test
|
||||
dependencies:
|
||||
- install
|
||||
script:
|
||||
- npm test
|
||||
|
||||
bundle addon:
|
||||
stage: build
|
||||
script:
|
||||
@@ -68,4 +89,4 @@ pages:
|
||||
- GitLabPages/*
|
||||
- img/clearurls.svg
|
||||
- data/data.min.json
|
||||
- build_tools/minifyDataJSON.js
|
||||
- build_tools/minifyDataJSON.js
|
||||
|
||||
Reference in New Issue
Block a user