Skip to content

Update dependencies to latest versions, resolve breaking changes #137

Update dependencies to latest versions, resolve breaking changes

Update dependencies to latest versions, resolve breaking changes #137

Workflow file for this run

name: CI
on:
push: { branches: [master] }
pull_request: { branches: [master] }
jobs:
build:
name: Build, lint, and test
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['16.x', '18.x', '20.x']
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install pnpm
run: npm i -g pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Audit
run: pnpm audit -P
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test
- name: Build
run: pnpm build
- name: Send test coverage data to Code Climate
if: startsWith(matrix.os, 'ubuntu')
uses: paambaati/codeclimate-action@v2.7.5
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}