Skip to content

Add Bun package manager #141

Add Bun package manager

Add Bun package manager #141

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
workflow_dispatch:
jobs:
ci:
name: Building, linting, testing on node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['10.x', '14.x', '17.x']
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
- name: Lint
run: npm run lint
- name: Test
run: npm test -- --ci --coverage --maxWorkers=2
- name: Build
run: npm run build