Skip to content

chore(release): migrate to nx release instead of custom release sol… #153

chore(release): migrate to nx release instead of custom release sol…

chore(release): migrate to nx release instead of custom release sol… #153

Workflow file for this run

name: Run e2e Tests
on:
push:
branches: [develop]
pull_request:
branches: [develop]
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
jobs:
run_e2e:
name: Run e2e Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [18]
env:
NX_BRANCH: ${{ github.event.number || github.ref }}
NX_RUN_GROUP: ${{ github.run_id }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v3
with:
main-branch-name: 'develop'
- run: |
echo "BASE: ${{ env.NX_BASE }}"
echo "HEAD: ${{ env.NX_HEAD }}"
- name: Use Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Use Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:' # optional, change this to force refresh cache
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:' # optional, change this to specify the cache path
architecture: x64 # optional, x64 or arm64
- name: Install node, pnpm, and dependencies
uses: ./.github/actions/install-dependencies
- name: Run e2e tests
env:
NX_E2E_CI_CACHE_KEY: e2e-gha-${{ matrix.os }}-${{ matrix.node-version }}
NX_RUN_GROUP: ${{ github.run_id }}-${{ matrix.os }}-${{ matrix.node-version }}
run: |
pnpm e2e