From 6c3ca209033e80364b2ce787c48a857c95f65c15 Mon Sep 17 00:00:00 2001 From: Sergio Hg Date: Tue, 1 Oct 2019 22:08:40 +0200 Subject: [PATCH] ci(github): add a CI workflow using Github Actions (#1494) --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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 000000000..f3150df69 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI + +on: push + +jobs: + ci: + name: Node ${{ matrix.node_version }} + + strategy: + fail-fast: false + matrix: + node_version: [10, 12] + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Use Node ${{ matrix.node_version }} + uses: actions/setup-node@v1 + with: + node_version: ${{ matrix.node_version }} + - name: Install + run: yarn install --pure-lockfile + - name: Build + run: yarn code:build + - name: Lint + run: yarn lint + - name: Test + run: yarn test