Skip to content

chore: update github workflow #1108

chore: update github workflow

chore: update github workflow #1108

Workflow file for this run

name: Tests & Build
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
test:
name: run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: npm i
- name: Run lint
run: npm run lint
- name: Run test
run: npm run test -- --coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Jest coverage report
uses: ArtiomTr/[email protected]
build:
name: build packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: npm i
- name: Run build
run: npm run build
env:
BUILD_CONCURRENCY: 5