Skip to content

refactor: minor improvements #4653

refactor: minor improvements

refactor: minor improvements #4653

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
types: [opened, edited, reopened, synchronize]
branches:
- "**"
env:
NODE_OPTIONS: --max_old_space_size=102400
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Workaround for GitHub Actions bug
- name: Enable Corepack
run: corepack enable
- name: Setup node@22
uses: actions/setup-node@v4
with:
node-version: 22
- name: Enable Corepack
run: corepack enable
- name: Install front-end dependencies
run: pnpm install
- name: Build front-end assets
run: pnpm run build
- name: Test on node@22
run: pnpm run test
- name: Setup node@21
uses: actions/setup-node@v4
with:
node-version: 21
- name: Enable Corepack
run: corepack enable
- name: Test on node@21
run: pnpm run test
- name: Setup node@20
uses: actions/setup-node@v4
with:
node-version: 20
- name: Enable Corepack
run: corepack enable
- name: Test on node@20
run: pnpm run test
- name: Setup node@19
uses: actions/setup-node@v4
with:
node-version: 19
- name: Enable Corepack
run: corepack enable
- name: Test on node@19
run: pnpm run test
- name: Setup node@18
uses: actions/setup-node@v4
with:
node-version: 18
- name: Enable Corepack
run: corepack enable
- name: Test on node@18
run: pnpm run test