Skip to content

fix: SM04509 suppression #3045

fix: SM04509 suppression

fix: SM04509 suppression #3045

Workflow file for this run

name: tests.yml
on:
workflow_dispatch:
push:
branches:
- main
- '4.12'
- '4.13'
pull_request:
branches:
- main
- '4.12'
- '4.13'
jobs:
ci:
name: "${{ github.workflow }} ${{ matrix.os }} (node ${{ matrix.node-version }})"
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: [ubuntu, windows]
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: use node ${{ matrix.node-version }}
uses: actions/setup-node@v2-beta
with:
node-version: ${{ matrix.node-version }}
- name: yarn cache dir
id: yarn-cache-dir
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node${{ matrix.node-version }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: yarn
run: yarn --frozen-lockfile
- name: yarn build
run: yarn build
- name: yarn test:github
run: yarn test:github
- name: coveralls
if: matrix.node-version == '16.x'
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: .lcov.info