Skip to content

Parallelize host cleanup steps #675

Parallelize host cleanup steps

Parallelize host cleanup steps #675

Workflow file for this run

name: pi-gen-action-unit-tests
on:
push:
branches:
- main
paths-ignore:
- '**.md'
- 'renovate.json'
pull_request:
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
if: failure() || success()
with:
files: coverage/clover.xml,coverage/lcov.info
flags: unittests
token: ${{ secrets.CODECOV_TOKEN }}
- 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