build: update deps #4654
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |