Diverse improvements #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Jest testing suite | |
on: | |
workflow_dispatch: | |
pull_request: | |
env: | |
NODE_ENV: "test" | |
jobs: | |
testing: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20.10.0" | |
- uses: oven-sh/setup-bun@v2 | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
- name: Jest With Coverage | |
run: bun install --frozen-lockfile && bun run jest:test | |
- name: Add Jest Report to Summary | |
if: always() | |
run: echo "$(cat test-dashboard.md)" >> $GITHUB_STEP_SUMMARY |