Tests [main] triggered by [push/coltenkrauter] #59
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: Tests | |
run-name: Tests [${{ github.ref_name }}] triggered by [${{ github.event_name }}/${{ github.actor }}] | |
on: | |
push: | |
branches: '*' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install Dependencies | |
run: npm ci | |
- name: Run Tests and Generate Coverage | |
run: npm test | |
- name: Upload Test and Coverage Reports | |
uses: actions/upload-artifact@v4 | |
with: | |
name: coverage-report | |
path: ./coverage |