Skip to content

Bump webpack-merge from 5.9.0 to 5.10.0 #1811

Bump webpack-merge from 5.9.0 to 5.10.0

Bump webpack-merge from 5.9.0 to 5.10.0 #1811

Workflow file for this run

name: Ensure PR
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unitTest:
name: Unit Test
strategy:
matrix:
os: [ubuntu-latest]
node-version: [lts/*]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- run: yarn --frozen-lockfile
- run: yarn jest
lint:
name: Lint
strategy:
matrix:
os: [ubuntu-latest]
node-version: [lts/*]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- run: yarn --frozen-lockfile
- run: yarn lint:js
- run: yarn lint:markdown
proseLint:
name: Proselint
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Vale
uses: errata-ai/[email protected]
with:
files: src/content
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
testAndCheck:
name: E2E test and link check
strategy:
matrix:
os: [ubuntu-latest]
node-version: [lts/*]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- run: yarn
- name: Enable webpack persistent caching
uses: actions/cache@v3
id: build-webpack-persistent-cache
with:
path: node_modules/.cache
key: build-${{ hashFiles('**/webpack.*.mjs') }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |-
build-${{ hashFiles('**/webpack.*.mjs') }}-${{ hashFiles('**/yarn.lock') }}
build-${{ hashFiles('**/webpack.*.mjs') }}-
- name: Cypress run
uses: cypress-io/github-action@v6
with:
browser: chrome
config-file: cypress.config.js
build: yarn build
start: yarn serve-dist
command: yarn cypress:run
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: yarn lint:links