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
|
||||
|
|
|
@ -9,7 +9,7 @@ default:
|
|||
build:
|
||||
stage: build
|
||||
script:
|
||||
- nix develop --command scripts/ci-build.sh
|
||||
- nix develop --command scripts/build.sh
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
artifacts:
|
||||
|
@ -24,7 +24,7 @@ build:
|
|||
test:
|
||||
stage: test
|
||||
script:
|
||||
- nix develop --command scripts/ci-test.sh
|
||||
- nix develop --command scripts/test.sh
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
- if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
|
||||
|
@ -32,7 +32,7 @@ test:
|
|||
release:
|
||||
stage: release
|
||||
script:
|
||||
- nix develop --command scripts/ci-release.sh
|
||||
- nix develop --command scripts/release.sh
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
artifacts:
|
||||
|
|
Loading…
Reference in a new issue