chore(ci): sync main to develop (#4924)
This commit is contained in:
parent
0669696b6f
commit
015d8f51c0
17
.github/workflows/cypress-run.yml
vendored
17
.github/workflows/cypress-run.yml
vendored
@ -13,13 +13,28 @@ on:
|
|||||||
type: string
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
runner-choice:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
runner: ${{ steps.step.outputs.runner }}
|
||||||
|
steps:
|
||||||
|
- name: Check branch
|
||||||
|
id: step
|
||||||
|
run: |
|
||||||
|
if [ ${{ github.base_ref }} == 'main' ]; then
|
||||||
|
echo "runner=mainnet-compatible-runner" >> $GITHUB_OUTPUT
|
||||||
|
else
|
||||||
|
echo "runner=self-hosted-runner" >> $GITHUB_OUTPUT
|
||||||
|
fi
|
||||||
|
|
||||||
e2e:
|
e2e:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
project: ${{ fromJSON(inputs.projects) }}
|
project: ${{ fromJSON(inputs.projects) }}
|
||||||
name: ${{ matrix.project }}
|
name: ${{ matrix.project }}
|
||||||
runs-on: self-hosted-runner
|
needs: runner-choice
|
||||||
|
runs-on: ${{ needs.runner-choice.outputs.runner }}
|
||||||
timeout-minutes: 120
|
timeout-minutes: 120
|
||||||
steps:
|
steps:
|
||||||
# Checks if skip cache was requested
|
# Checks if skip cache was requested
|
||||||
|
15
.github/workflows/lint-pr.yml
vendored
15
.github/workflows/lint-pr.yml
vendored
@ -14,21 +14,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
|
||||||
ref: ${{ github.event.pull_request.head.sha || github.sha }}
|
|
||||||
|
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version: 16
|
||||||
# https://stackoverflow.com/questions/61010294/how-to-cache-yarn-packages-in-github-actions
|
|
||||||
cache: yarn
|
|
||||||
|
|
||||||
- name: Cache node modules
|
- name: Install dependencies
|
||||||
uses: actions/cache@v3
|
run: |
|
||||||
with:
|
rm package.json
|
||||||
path: node_modules
|
npm install --no-save @commitlint/cli @commitlint/config-conventional @commitlint/config-nx-scopes nx
|
||||||
key: ${{ runner.os }}-cache-node-modules-${{ hashFiles('yarn.lock') }}
|
|
||||||
|
|
||||||
- name: Check PR title
|
- name: Check PR title
|
||||||
run: echo "${{ github.event.pull_request.title }}" | npx commitlint --config ./commitlint.config-ci.js
|
run: echo "${{ github.event.pull_request.title }}" | npx commitlint --config ./commitlint.config-ci.js
|
||||||
|
@ -196,7 +196,7 @@
|
|||||||
"market.fee.factors.makerFee": "0.004",
|
"market.fee.factors.makerFee": "0.004",
|
||||||
"market.liquidity.stakeToCcyVolume": "0.3",
|
"market.liquidity.stakeToCcyVolume": "0.3",
|
||||||
"market.liquidity.targetstake.triggering.ratio": "0.7",
|
"market.liquidity.targetstake.triggering.ratio": "0.7",
|
||||||
"market.liquidity.providersFeeCalculationTimeStep": "5s",
|
"market.liquidity.providersFeeCalculationTimeStep": "5s",
|
||||||
"network.checkpoint.timeElapsedBetweenCheckpoints": "10s",
|
"network.checkpoint.timeElapsedBetweenCheckpoints": "10s",
|
||||||
"reward.asset": "{{.GetVegaContractID "VEGA"}}",
|
"reward.asset": "{{.GetVegaContractID "VEGA"}}",
|
||||||
"reward.staking.delegation.competitionLevel": "3.1",
|
"reward.staking.delegation.competitionLevel": "3.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user