Feat/tw fido #95
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: nrwl/nx-set-shas@v3 | |
- run: npm ci | |
- run: npx nx affected -t lint --parallel=3 | |
- run: npx nx affected -t test --parallel=3 --configuration=ci | |
- run: npx nx affected -t build --parallel=3 | |
e2e: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: nrwl/nx-set-shas@v3 | |
- run: npm ci | |
- run: npx nx affected -t e2e | |
env: | |
# thest are only for testing, DO NOT USE IT FOR OTHER PURPOSE!! | |
VITE_MOCK_WALLET_PRIVATE_KEY: '0x8b806ec6cc2cbc6f75e1e0a0b020dba4d02f1a8578b9a8e2fb1f53f5a1c83e99' | |
VITE_INFURA_PROJECT_ID: '25e33bb59b0b4803813c8f238cceb14e' | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: screen-records | |
path: /home/runner/work/tw-did/tw-did/dist/cypress/apps/*/videos/*.mp4 | |
acceptance: | |
if: ${{ false }} | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: nrwl/nx-set-shas@v3 | |
- run: npm ci | |
- run: npx nx affected -t acceptance |