diff --git a/.github/workflows/merge-to-protected.yml b/.github/workflows/merge-to-protected.yml new file mode 100644 index 0000000..600f847 --- /dev/null +++ b/.github/workflows/merge-to-protected.yml @@ -0,0 +1,28 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: "18.x" + - name: Install + run: npm install + - name: Build + run: npm run-script build + env: + CI: "" + - name: Test + env: + NODE_OPTIONS: "--max-old-space-size=4096" + run: npm run-script test