diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..521d82a --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,22 @@ +name: Run tests on PRs + +on: + push: + branches: [ 'master' ] + pull_request: + branches: [ 'master' ] + +jobs: + tests: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: 14.21.3 + useLockFile: false + - run: npm install + - run: npm test diff --git a/.nvmrc b/.nvmrc deleted file mode 100644 index f46d5e3..0000000 --- a/.nvmrc +++ /dev/null @@ -1 +0,0 @@ -14.21.3