diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..4c96265a --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,13 @@ +name: test +on: pull_request + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: echo $GITHUB_REF + - run: echo $GITHUB_REPOSITORY + - run: echo ${{ github.workflow }} + - run: cd jest && npm i + - run: cd jest && DEBUG=@testomatio/reporter:pipe:github TESTOMATIO=yapff28430mu GH_PAT=${{ github.token }} TESTOMATIO_URL=https://beta.testomat.io npm run test animal-sort/ diff --git a/jest/package.json b/jest/package.json index 9b5bdefe..f59524d6 100644 --- a/jest/package.json +++ b/jest/package.json @@ -6,8 +6,8 @@ "author": "Koushik Mohan ", "license": "MIT", "dependencies": { - "@testomatio/reporter": "^0.6.5", - "check-tests": "^0.7.3", + "@testomatio/reporter": "github:testomatio/reporter", + "check-tests": "^0.8.12", "jest-junit": "^13.2.0" }, "devDependencies": {