Skip to content

Update README.md

Update README.md #18

Workflow file for this run

name: Complete workflow
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
Lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- run: git fetch --prune --unshallow
- name: Use Node.js ${{matrix.node-version}}
uses: actions/setup-node@v1
with:
node-version: ${{matrix.node-version}}
- name: Install dependencies
run: yarn --fronzen-lockfile
- name: Run Lint
run: yarn lint
Tests:
runs-on: ubuntu-latest
needs: [Lint]
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- run: git fetch --prune --unshallow
- name: Use Node.js ${{matrix.node-version}}
uses: actions/setup-node@v1
with:
node-version: ${{matrix.node-version}}
- name: Install dependencies
run: yarn --fronzen-lockfile
- name: Run the tests
run: yarn test
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.github_token }}