diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml new file mode 100644 index 0000000..84a4d57 --- /dev/null +++ b/.github/workflows/checks.yml @@ -0,0 +1,24 @@ +name: Run npm on PR + +on: + pull_request: + types: [opened, synchronize, reopened] + +jobs: + run-npm: + runs-on: ubuntu-latest + + steps: + - name: Check out repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v1 + with: + node-version: "18" + + - name: Install dependencies + run: npm install + + - name: Run data validation + run: npm run validate