From f66c957116bbbadf73db76e50e0e428723c731da Mon Sep 17 00:00:00 2001 From: zhuzhuor Date: Sat, 2 Jul 2022 22:15:34 -0700 Subject: [PATCH] try a workflow to trigger the test run --- .github/workflows/run_tests.yml | 18 ++++++++++++++++++ package-lock.json | 1 + package.json | 1 + 3 files changed, 20 insertions(+) create mode 100644 .github/workflows/run_tests.yml diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml new file mode 100644 index 0000000..7137d7a --- /dev/null +++ b/.github/workflows/run_tests.yml @@ -0,0 +1,18 @@ +name: Run all tests + +on: + workflow_dispatch: + push: + branches: [ "master", "mv3" ] + +jobs: + run_tests: + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 14 + - run: npm ci + - run: npm run test diff --git a/package-lock.json b/package-lock.json index 2b39dc0..b8130ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,6 +14,7 @@ "eslint-plugin-n": "^15.2.3", "eslint-plugin-promise": "^6.0.0", "jest": "^28.1.2", + "jest-cli": "^28.1.2", "jest-puppeteer": "^6.1.0", "puppeteer": "^15.3.0" }, diff --git a/package.json b/package.json index 9f313b2..f12bfb1 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "eslint-plugin-n": "^15.2.3", "eslint-plugin-promise": "^6.0.0", "jest": "^28.1.2", + "jest-cli": "^28.1.2", "jest-puppeteer": "^6.1.0", "puppeteer": "^15.3.0" }