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

Merge pull request #26 from NodePit/dependabot/npm_and_yarn/babel/tra… #57

Merge pull request #26 from NodePit/dependabot/npm_and_yarn/babel/tra…

Merge pull request #26 from NodePit/dependabot/npm_and_yarn/babel/tra… #57

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
# Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0
node-version: ">=10"
- name: Lint, test, and build
run: |
npm install -g yarn
yarn install
yarn lint
# https://stackoverflow.com/a/52357797/388827
yarn run jest --ci --reporters=jest-junit --reporters=default --coverage
yarn build
- uses: codecov/codecov-action@v1
with:
file: ./coverage/coverage-final.json
fail_ci_if_error: true