Bump @types/node from 18.15.11 to 20.4.5 #309
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: Lint and Test | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
build: | |
name: 'Lint and Test' | |
timeout-minutes: 15 | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
shell: bash | |
- name: Lint | |
if: ${{ matrix.os != 'windows-latest' }} | |
run: pnpm lint | |
- name: format | |
if: ${{ matrix.os != 'windows-latest' }} | |
run: pnpm format:check | |
- name: Typecheck | |
if: ${{ matrix.os != 'windows-latest' }} | |
run: pnpm tsc | |
- name: Test | |
if: ${{ matrix.os != 'windows-latest' }} | |
run: pnpm test | |
- name: Test (windows) | |
if: ${{ matrix.os == 'windows-latest' }} | |
run: pnpm test -- --runInBand | |