Skip to content

Merge pull request #719 from akunzai/dependabot/npm_and_yarn/tough-co… #1674

Merge pull request #719 from akunzai/dependabot/npm_and_yarn/tough-co…

Merge pull request #719 from akunzai/dependabot/npm_and_yarn/tough-co… #1674

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '18', '20' ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 10
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- name: Install dependencies
run: |
corepack enable
yarn install
- name: Build
run: yarn build
- name: Lint
run: yarn lint
- name: Test
run: yarn test:coverage
- uses: codecov/codecov-action@v3