diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml new file mode 100644 index 0000000..15e4adc --- /dev/null +++ b/.github/workflows/run-tests.yml @@ -0,0 +1,25 @@ +name: Run Tests + +on: + pull_request: + branches: [main] + push: + branches: [main, github-action-run-test] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: '20' + + - name: Install Dependencies + run: npm ci + + - name: Run Tests + run: npm test