Skip to content

latest version

latest version #41

Workflow file for this run

name: CI
on:
push:
branches:
- main
permissions:
actions: read
contents: read
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Restore cached npm dependencies
uses: actions/cache/restore@v4
with:
path: |
node_modules
key: npm-dependencies-${{ hashFiles('pnpm-lock.yaml') }}
- run: pnpm install --frozen-lockfile
- name: Cache npm dependencies
uses: actions/cache/save@v4
with:
path: |
node_modules
key: npm-dependencies-${{ hashFiles('pnpm-lock.yaml') }}
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v4
- name: Install playwright browsers
run: pnpm playwright install --with-deps chromium
- run: pnpm nx affected -t lint build --parallel=3 # add test
- run: pnpm nx affected -t e2e-ci --parallel=1