Skip to content

feat: Angular 19 support #10

feat: Angular 19 support

feat: Angular 19 support #10

Workflow file for this run

name: pr-checks
on:
pull_request:
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
# This line is needed for nx affected to work when CI is running on a PR
- run: git branch --track main origin/main
- 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