From 3e2d8b292fada4fe42a1e75f4f10b5a5219c8745 Mon Sep 17 00:00:00 2001 From: pathmapper Date: Fri, 29 May 2020 12:13:27 +0200 Subject: [PATCH] Add new CI workflow using GitHub actions --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..86de491 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI + +on: + push: + branches: [ gh-pages ] + pull_request: + branches: [ gh-pages ] + +jobs: + test: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [10.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 install + - run: npm run validate + - run: npm run diff