From f9038d7a09ef05c33cb60c92880fd7dd03c5f626 Mon Sep 17 00:00:00 2001 From: Steve Faulkner Date: Tue, 26 May 2020 14:44:36 -0500 Subject: [PATCH] Add Initial GitHub Actions (#3) --- .github/workflows/blank.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 000000000..17627a27d --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,32 @@ + +# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: Node.js CI +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js 12.x + uses: actions/setup-node@v1 + with: + node-version: 12.x + - run: npm ci + - run: npm run build:ci --if-present + - run: npm test + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js 12.x + uses: actions/setup-node@v1 + with: + node-version: 12.x + - run: npm ci + - run: npm run build:ci --if-present