From 292b2bb411adbb128d4dac5b849e921ff09d574b Mon Sep 17 00:00:00 2001 From: Xavier Stouder Date: Sun, 15 Mar 2020 00:18:46 +0100 Subject: [PATCH] chore: run test on push --- .github/workflows/test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..ce1ae84 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: Node.js CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node_version: [8.x, 10.x, 12.x, 13.x] + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node_version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node_version }} + - run: npm ci + - run: npm run build + - run: npm test + env: + CI: true \ No newline at end of file