Skip to content

tests(e2e): Fix sanity test #10975

tests(e2e): Fix sanity test

tests(e2e): Fix sanity test #10975

Workflow file for this run

name: Test Runner
on:
push:
branches: [main, dev/*, hotfix/*]
pull_request:
branches: [main, dev/*, hotfix/*]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
# checkout the repo
- name: 'Checkout Github Action'
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Set up Node.js version ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v3
with:
version: 8
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- args: [--global, turbo, typescript]
# - run: npx nx affected --target=lint --parallel
- run: turbo run build --cache-dir=.turbo
- run: turbo run test:lib --cache-dir=.turbo