Skip to content

chore(deps): bump @playwright/test in /examples/my-ngsw-app #2019

chore(deps): bump @playwright/test in /examples/my-ngsw-app

chore(deps): bump @playwright/test in /examples/my-ngsw-app #2019

Workflow file for this run

name: Build and test
on:
push:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Cache dependencies
uses: actions/cache@v4
env:
cache-name: cache-yarn-dependencies
with:
path: .yarn/cache
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install
run: yarn --immutable
- name: Build
run: yarn build
- name: Unit Tests
run: yarn test
- name: Lint
run: yarn lint
- name: Install, build and start demo app
run: |
cd examples/my-ngsw-app
npm ci
npm run start:prod:ci
- name: End to End tests
run: |
cd examples/my-ngsw-app
npx playwright install chromium
npm run test:e2e