Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Merge pull request #194 from paulmillr/patch-1 #113

Merge pull request #194 from paulmillr/patch-1

Merge pull request #194 from paulmillr/patch-1 #113

Workflow file for this run

name: Build
on:
push:
branches:
- master
tags:
- '*'
pull_request:
types: [opened, reopened, synchronize]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14, 16, 18]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm i
- run: npm run lint
- run: npm run coverage
test-browser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 14
uses: actions/setup-node@v2
with:
node-version: 14
cache: 'npm'
- run: npm i
- run: npm run test:browser