From 98214b546453b86c04a4c03db96b6fefd98e4b10 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Thu, 30 Jan 2020 23:25:12 +0200 Subject: chore: github actions CI config --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..cc1b29b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: Node CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node: [ '12', '10', '8' ] + name: Node ${{ matrix.node }} CI + steps: + - uses: actions/checkout@v1 + - name: Setup node + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - name: npm install, build, lint, and test + run: | + npm ci + npm run build + npm run lint + npm test + env: + CI: true -- cgit v1.2.3