Skip to content

Fix interface changes of json-colorize dependency #540

Fix interface changes of json-colorize dependency

Fix interface changes of json-colorize dependency #540

Workflow file for this run

name: pi-gen-action-unit-tests
on:
push:
paths-ignore:
- '**.md'
- 'renovate.json'
pull_request:
types: [opened, reopened, synchronize]
jobs:
npm-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch full history for Git tests
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm test
- uses: codecov/codecov-action@v4
with:
files: coverage/clover.xml,coverage/lcov.info
flags: unittests
- run: npm run lint
- run: npm run format-check
- run: npm run update-readme
- name: Ensure no Git diff
run: |
GIT_STATUS=$(git status -s)
echo $GIT_STATUS
test -z "$GIT_STATUS"
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ludeeus/action-shellcheck@master