Skip to content

build(deps-dev): bump @types/node from 18.16.3 to 20.8.0 #851

build(deps-dev): bump @types/node from 18.16.3 to 20.8.0

build(deps-dev): bump @types/node from 18.16.3 to 20.8.0 #851

Workflow file for this run

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