Skip to content

chore: use puppeteer launcher to run Chrome tests, bump Node to 18 (CP: 23.5) #6692

chore: use puppeteer launcher to run Chrome tests, bump Node to 18 (CP: 23.5)

chore: use puppeteer launcher to run Chrome tests, bump Node to 18 (CP: 23.5) #6692

Workflow file for this run

name: Verify
on: pull_request
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install Dependencies
run: yarn --frozen-lockfile --no-progress --non-interactive
- name: Lint JavaScript
run: yarn lint:js
- name: Lint CSS
run: yarn lint:css
- name: Lint TypeScript
run: yarn lint:types
smoke:
name: Smoke tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install Dependencies
run: yarn --frozen-lockfile --no-progress --non-interactive
- name: Test
run: yarn test:smoke
snapshots:
name: Snapshot tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install Dependencies
run: yarn --frozen-lockfile --no-progress --non-interactive
- name: Test
run: yarn test:snapshots
integration:
name: Integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install Dependencies
run: yarn --frozen-lockfile --no-progress --non-interactive
- name: Test
run: yarn test:it