Skip to content
Permalink
main
Switch branches/tags
View runs Go to file
 
 
Cannot retrieve contributors at this time
name: Node CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
env:
CI: true
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Debug Action
uses: hmarr/debug-action@v1.0.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn version check
name: Version Check
- run: yarn install
name: Install Dependencies
- run: 'yarn lint:'
name: Lint
- run: 'yarn build:'
name: Build
- run: 'yarn unit:test'
name: Unit Test
- run: 'yarn test:'
name: Test Packages
- run: 'yarn git_is_clean'
name: Verify Git is Clean
- name: Publish coverage to codecov.io
uses: codecov/codecov-action@v1.0.3
if: success() && matrix.node-version == '14.x'
with:
token: ${{ secrets.CODECOV_TOKEN }}