Skip to content

Merge pull request #36 from linyisonger/dev #84

Merge pull request #36 from linyisonger/dev

Merge pull request #36 from linyisonger/dev #84

Workflow file for this run

name: CI Pipeline
on:
push:
branches: [master]
paths:
- "**/*.test.js"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 18.x
- run: |
yarn install
yarn run lint
npx tsc -p tsconfig.test.json
yarn run test
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Codeclimate
uses: paambaati/codeclimate-action@v3.2.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.TESTREPORTERID }}
with:
coverageCommand: yarn run test
debug: true
- run: yarn run test:codecov
- name: Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}