Skip to content

build(deps): bump actions/setup-node from 3.6.0 to 3.8.1 (#488) #857

build(deps): bump actions/setup-node from 3.6.0 to 3.8.1 (#488)

build(deps): bump actions/setup-node from 3.6.0 to 3.8.1 (#488) #857

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@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
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