build(deps-dev): bump @types/node from 18.16.3 to 20.6.5 #848
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: 'build-test' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ["16", "18"] | |
steps: | |
- uses: actions/checkout@b56e6a3d768b11aef1d4c73977caf6413c0d74c8 # v3.2.0 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn install --ignore-engines | |
- name: Check format and lint | |
if: matrix.node-version == 16 | |
run: yarn run format-check && yarn run lint | |
- name: Run tests | |
run: yarn test | |
- name: Build and package | |
if: matrix.node-version == 16 | |
run: yarn run build |