Skip to content

Merge pull request #689 from freshbooks/dependabot/npm_and_yarn/types… #1586

Merge pull request #689 from freshbooks/dependabot/npm_and_yarn/types…

Merge pull request #689 from freshbooks/dependabot/npm_and_yarn/types… #1586

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: yarn install, build, and test
run: |
yarn install
yarn build
yarn lint
yarn test
env:
CI: true