Skip to content

chore: use lintroller #542

chore: use lintroller

chore: use lintroller #542

Workflow file for this run

name: Test
on:
push:
branches: [develop]
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- name: Lint
run: pnpm lint
- name: Type check
run: pnpm type-check
- name: Build
run: pnpm build
- name: Test
env:
# This can't be added to the package.json script because we also test Node.js v16
# https://github.com/webpack/webpack/issues/14532
NODE_OPTIONS: --openssl-legacy-provider
run: pnpm test
- name: Test Node.js v16
run: pnpm --use-node-version=16.19.0 test