Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
CMCDragonkai committed Jul 11, 2022
1 parent 54159ca commit 206a401
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ check:lint:
needs: []
script:
- >
nix-shell --run '
npm run lint;
npm run lint-shell;
'
nix-shell --run '
npm run lint;
npm run lint-shell;
'
rules:
# Runs on feature and staging commits and ignores version commits
- if: $CI_COMMIT_BRANCH =~ /^(?:feature.*|staging)$/ && $CI_COMMIT_TITLE !~ /^[0-9]+\.[0-9]+\.[0-9]+(?:-.*[0-9]+)?$/
Expand Down Expand Up @@ -82,9 +82,9 @@ check:test-generate:
interruptible: true
script:
- >
nix-shell --run '
./scripts/test-pipelines.sh > ./tmp/test-pipelines.yml
'
nix-shell --run '
./scripts/test-pipelines.sh > ./tmp/test-pipelines.yml
'
artifacts:
when: always
paths:
Expand Down Expand Up @@ -151,9 +151,9 @@ build:linux:
needs: []
script:
- >
nix-shell --run '
npm run build --verbose;
'
nix-shell --run '
npm run build --verbose;
'
artifacts:
when: always
paths:
Expand Down Expand Up @@ -232,9 +232,9 @@ build:prerelease:
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ./.npmrc
- echo 'Publishing library prerelease'
- >
nix-shell --run '
npm publish --tag prerelease --access public;
'
nix-shell --run '
npm publish --tag prerelease --access public;
'
after_script:
- rm -f ./.npmrc
rules:
Expand Down Expand Up @@ -335,11 +335,11 @@ integration:nix:
optional: true
script:
- >
build_application="$( \
gunzip -c ./builds/js-polykey.closure.gz | \
nix-store --import | \
tail -1 \
)"
build_application="$( \
gunzip -c ./builds/js-polykey.closure.gz | \
nix-store --import | \
tail -1 \
)"
- $build_application/bin/polykey
rules:
# Runs on staging commits and ignores version commits
Expand Down

0 comments on commit 206a401

Please sign in to comment.