Skip to content

chore(deps): update commitlint monorepo to v19 (major) #703

chore(deps): update commitlint monorepo to v19 (major)

chore(deps): update commitlint monorepo to v19 (major) #703

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12, 14, 16]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: yarn cache directory
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Setup node_modules cache
uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: yarn install --frozen-lockfile
- name: Deduplicate yarn.lock
run: yarn deduplicate --list --fail
- name: CSpell
uses: streetsidesoftware/[email protected]
- name: Lint
run: yarn lint
- name: Type
run: yarn type
- name: Coverage
run: yarn test --coverage
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-${{ matrix.node-version }}
parallel: true
- name: Build
run: yarn build
finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true