Skip to content

build(deps-dev): bump eslint-plugin-jest from 27.9.0 to 28.2.0 (#300) #880

build(deps-dev): bump eslint-plugin-jest from 27.9.0 to 28.2.0 (#300)

build(deps-dev): bump eslint-plugin-jest from 27.9.0 to 28.2.0 (#300) #880

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run Linters
run: npm run lint
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: npm run test:unit
e2e-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Install playwright
run: npx playwright install --with-deps
- name: Run E2E tests
run: npm run test:e2e
- uses: actions/upload-artifact@v3
if: failure()
with:
name: playwright-test-results
path: test-results/
# cancel the jobs if another workflow is kicked off for the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true