diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..f78fb60 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,19 @@ +name: Node.js Build/Test + +on: [pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js 16 + uses: actions/setup-node@v3 + with: + node-version: 16.x + cache: 'npm' + - run: npm install + - run: npm run build + - run: npm test