Skip to content

chore(package): specify manager as yarn #187

chore(package): specify manager as yarn

chore(package): specify manager as yarn #187

Workflow file for this run

name: Pull request
on:
pull_request:
branches:
- main
release:
types: [created]
jobs:
build:
runs-on: ${{ matrix.os }}
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
# list only the earliest and latest node versions supported
# this makes PR builds more efficient
node-version: [16, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Run linter
run: yarn lint
- name: Build binaries
run: yarn build
- name: Run tests
run: yarn test