diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b38d0df..f4adeb2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,11 +27,3 @@ jobs: with: name: test-results path: __tests__/__results__/*.xml - - - name: Create test report - uses: ./ - if: success() || failure() - with: - name: JEST Tests - path: __tests__/__results__/*.xml - reporter: jest-junit diff --git a/.github/workflows/manual-run.yml b/.github/workflows/manual-run.yml new file mode 100644 index 0000000..90a9110 --- /dev/null +++ b/.github/workflows/manual-run.yml @@ -0,0 +1,22 @@ +name: Manual run + +on: + workflow_dispatch: + +jobs: + check-dist: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - run: npm ci + - run: npm run build + - run: npm test + + - name: Create test report + uses: ./ + if: success() || failure() + with: + name: JEST Tests + path: __tests__/__results__/*.xml + reporter: jest-junit