Skip to content

fix: exit code when reporter file is not provided #11

fix: exit code when reporter file is not provided

fix: exit code when reporter file is not provided #11

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
main:
name: Test and Release
runs-on: ubuntu-latest
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.KARMARUNNERBOT_GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
token: ${{ env.GITHUB_TOKEN }}
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: 12
cache: npm
- run: npm ci
- run: |
npm run commitlint -- \
--verbose \
--from `git merge-base origin/master $GITHUB_SHA`
- run: npm run lint
- run: npm run test
- run: npm run release