Skip to content

Publish

Publish #503

Workflow file for this run

name: Node
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 16
- 14
- 12
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: yarn install and test
run: |
node --version
mkdir -p ./coverage/
yarn
yarn test
env:
CI: true
FORCE_COLOR: 1
- name: Upload code coverage
uses: codecov/codecov-action@v2
with:
file: ./coverage/clover.xml