chore(deps): bump @angular/compiler-cli in /examples/my-ngsw-app #1425
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
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 |