Update index.js and testCase.ts with changes that makes skipped tests… #116
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: Continuous Integration | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install Dependencies | |
run: npm install | |
- name: Run Jest Tests | |
run: npm test | |
- name: Add JUnit Summary | |
uses: ./ | |
if: always() | |
with: | |
junit-path: test-results/junit.xml | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload JUnit Test Results | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: junit-results | |
path: ./test-results/junit.xml |