Project migration #1
Workflow file for this run
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: Test Runner | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
jobs: | ||
run-tests: | ||
name: Run Tests | ||
runs-on: ubuntu-latest | ||
needs: install-dependencies | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Download node_modules artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: node_modules | ||
path: node_modules | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '22' | ||
- name: Run tests | ||
run: yarn test | ||
- name: Test Report | ||
uses: dorny/test-reporter@v1 | ||
if: success() | ||
with: | ||
name: Tests | ||
path: reports/junit.xml | ||
reporter: jest-junit | ||
- name: Test Summary | ||
uses: test-summary/action@v2 | ||
with: | ||
paths: 'reports/junit.xml' |