diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f6b9259 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: CI +on: [push, pull_request] +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Test using Node.js + uses: actions/setup-node@v1 + with: + node-version: '12' + - name: npm install, build, and test + run: | + npm ci + npm run build --if-present + npm test + env: + CI: true \ No newline at end of file