Skip to content

Upgrade to Angular 13 #166

Upgrade to Angular 13

Upgrade to Angular 13 #166

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# Note: This step is necessary inclusion for the project to work on node 16.
# Please refer to the Angular 13 PR for more information
# Angular 13 PR: https://github.com/CATcher-org/CATcher/pull/1249
- name: Use npm 7
run: npm i -g npm@7 --registry=https://registry.npmjs.org
- name: Install dependencies
run: |
npm install
npm update
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30