This repository has been archived by the owner on Oct 18, 2023. It is now read-only.
feat: support Node.js v20 globalPreload
#170
Workflow file for this run
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: [develop] | |
pull_request: | |
branches: [master, develop, next] | |
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/[email protected] | |
with: | |
standalone: true | |
version: 8 | |
run_install: true | |
- name: Lint | |
run: pnpm lint | |
- name: Type check | |
run: pnpm type-check | |
- name: Build | |
run: pnpm build | |
- name: Test | |
run: pnpm test | |
- name: Use Node.js 12 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '12' | |
- name: Test with Node v12 | |
run: pnpm test |