diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml new file mode 100644 index 000000000..5d47417db --- /dev/null +++ b/.github/workflows/node.yml @@ -0,0 +1,26 @@ +name: Node.js CI + +on: [push] + +jobs: + build: + + runs-on: macos-latest + + strategy: + matrix: + node-version: [12.x] + + steps: + - name: Clone and checkout branch + uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: Install dependencies + run: npm install + - name: Run the test + run: npm test + env: + CI: true