From fe76d5660cdb30a87279f50914662abfa1899186 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Gehrig Date: Thu, 4 Jun 2020 13:13:52 +0200 Subject: [PATCH] Setup continuous integration workflow --- .github/workflows/node-ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/node-ci.yml diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml new file mode 100644 index 0000000..529def7 --- /dev/null +++ b/.github/workflows/node-ci.yml @@ -0,0 +1,21 @@ +name: Node.js CI + +on: [push] + +jobs: + test: + + runs-on: ubuntu-latest + + steps: + # Checkout the code + - uses: actions/checkout@v2 + # Setup Node.js + - name: Use Node.js 12.x + uses: actions/setup-node@v1 + with: + node-version: 12.x + # Install dependencies + - run: npm install + # Run test suite + - run: npm test