build: cleaning up to fit current standards
This commit is contained in:
parent
124f102b80
commit
047b47fb46
5 changed files with 4 additions and 5 deletions
3
.envrc
3
.envrc
|
@ -1,3 +1,2 @@
|
||||||
export PATH=$PWD/node_modules/.bin:$PATH
|
export PATH=$PWD/scripts:$PWD/node_modules/.bin:$PATH
|
||||||
|
|
||||||
use flake || use nix
|
use flake || use nix
|
||||||
|
|
|
@ -9,7 +9,7 @@ default:
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- nix develop --command scripts/ci-build.sh
|
- nix develop --command scripts/build.sh
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH
|
- if: $CI_COMMIT_BRANCH
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@ -24,7 +24,7 @@ build:
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- nix develop --command scripts/ci-test.sh
|
- nix develop --command scripts/test.sh
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH
|
- if: $CI_COMMIT_BRANCH
|
||||||
- if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
|
- if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
|
||||||
|
@ -32,7 +32,7 @@ test:
|
||||||
release:
|
release:
|
||||||
stage: release
|
stage: release
|
||||||
script:
|
script:
|
||||||
- nix develop --command scripts/ci-release.sh
|
- nix develop --command scripts/release.sh
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Reference in a new issue