diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 0000000..8098df6 --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,17 @@ +on: + pull_request: + branches: + - main +jobs: + test: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - uses: setup-node@v3 + with: + node-version-file: ".nvmrc" + cache: "npm" + cache-dependency-path: "package-lock.json" + check-latest: false + - run: npm ci + - run: make test