Skip to content

build(deps-dev): bump eslint-plugin-playwright from 0.12.0 to 0.22.2 #831

build(deps-dev): bump eslint-plugin-playwright from 0.12.0 to 0.22.2

build(deps-dev): bump eslint-plugin-playwright from 0.12.0 to 0.22.2 #831

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Pull Request Prerequisite Checks
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v4
with:
main-branch-name: ${{ github.base_ref }}
- name: Setup Node.js
uses: ./.github/actions/node-step
with:
npm-auth-token: ${{ secrets.NPM_TOKEN }}
- name: Build app
run: npm run affected:build
- name: Check Formatting
run: npm run format:check
- name: Unit test
run: npm run affected:test
- name: Check Linting
run: npm run affected:lint
playwright:
name: "Playwright Tests"
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.32.1-focal
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: ./.github/actions/node-step
with:
npm-auth-token: ${{ secrets.NPM_TOKEN }}
- name: Install browsers
run: npx playwright install --with-deps chromium firefox webkit
shell: bash
- name: Run Playwright e2e tests
run: HOME=/root npm run e2e
- name: Run Playwright e2e responsive tests with mocks
run: HOME=/root npm run e2e-test-responsive
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 7