Compare commits

..
5 changed files with 19 additions and 27 deletions
+10 -10
View File
@@ -97,20 +97,20 @@ jobs:
echo "preview_explorer: ${{ env.PREVIEW_EXPLORER }}"
echo "preview_tools: ${{ env.PREVIEW_TOOLS }}"
# - name: Check formatting
# run: yarn nx format:check
- name: Check formatting
run: yarn nx format:check
# - name: Lint affected
# run: yarn nx affected:lint --max-warnings=0
- name: Lint affected
run: yarn nx affected:lint --max-warnings=0
# - name: Build affected spec
# run: yarn nx affected --target=build-spec
- name: Build affected spec
run: yarn nx affected --target=build-spec
# - name: Test affected
# run: yarn nx affected:test
- name: Test affected
run: yarn nx affected:test
# - name: Build affected
# run: yarn nx affected:build || (yarn install && yarn nx affected:build)
- name: Build affected
run: yarn nx affected:build || (yarn install && yarn nx affected:build)
outputs:
projects: ${{ env.PROJECTS }}
+2 -2
View File
@@ -2,7 +2,7 @@
. "$(dirname "$0")/_/husky.sh"
# Lint commit messages to ensure they follow conventional commit standards
# yarn commitlint --edit "${1}"
yarn commitlint --edit "${1}"
# Lint all staged files
# yarn lint-staged
yarn lint-staged
-5
View File
@@ -1,5 +0,0 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
# Lint all staged files
# yarn lint-staged
-8
View File
@@ -1,8 +0,0 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
# Lint all staged files
# yarn nx format:check
# Test all projects with changes
# yarn nx affected -t test --exclude trading
+7 -2
View File
@@ -14,8 +14,13 @@ domain = 'vega.rocks'
bucket_name = ''
if 'release/' in args.github_ref:
# remove prefixing release/ and take the first string limited by - which is supposed to be name of the environment for releasing (format: release/testnet-trading)
env_name = args.github_ref.replace('refs/heads/release/', '').split('-')[0]
if 'mainnet-mirror' in args.github_ref:
env_name = 'mainnet-mirror'
if 'validators-testnet' in args.github_ref:
env_name = 'validators-testnet'
else:
# remove prefixing release/ and take the first string limited by - which is supposed to be name of the environment for releasing (format: release/testnet-trading)
env_name = args.github_ref.replace('refs/heads/release/', '').split('-')[0]
elif 'develop' in args.github_ref:
env_name = 'stagnet1'
apps_deployed_from_develop_to_mainnet = {