Skip to content

Merge pull request #147 from oozcitak/dependabot/npm_and_yarn/terser-… #204

Merge pull request #147 from oozcitak/dependabot/npm_and_yarn/terser-…

Merge pull request #147 from oozcitak/dependabot/npm_and_yarn/terser-… #204

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
node: [ '12', '14', '16' ]
steps:
- uses: actions/checkout@v2
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm test
env:
CI: true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2