Skip to content

Merge pull request #6 from boylett/patch-1 #123

Merge pull request #6 from boylett/patch-1

Merge pull request #6 from boylett/patch-1 #123

Workflow file for this run

name: 'Build & Test'
on: [push, pull_request_target]
jobs:
build:
name: Build (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install
run: npm ci --ignore-scripts
- name: Build
run: npm run build
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install
run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: ES Check
run: npm run escheck
- name: Test
run: npm run test
- name: Report code coverage
uses: codacy/[email protected]
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage/lcov.info
language: Javascript