From 63585558e878278e39f09e4f967efa61a4ecaad0 Mon Sep 17 00:00:00 2001 From: Hector Rosales Date: Sat, 17 Oct 2020 21:54:38 -0600 Subject: [PATCH 1/3] chore: add GitHub Actions lint pipeline --- .github/workflows/lint.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..ac9cfb5 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,14 @@ +name: lint +on: [push, pull_request] +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Set up node 12 + uses: actions/setup-node@v2-beta + with: + node-version: "12" + - name: Check out code into the Go module directory + uses: actions/checkout@v2 + - run: npm install + - run: npm run test \ No newline at end of file From a9d4815a7d88ad46e767c0ebfc535c463f4ecac0 Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Mon, 16 Nov 2020 17:41:18 +0530 Subject: [PATCH 2/3] chore: configure build matrix to run tests on multiple platforms --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ .github/workflows/lint.yml | 14 -------------- 2 files changed, 25 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6c2a522 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI +on: + push: + pull_request: + branches: + - master + - next + workflow_dispatch: +jobs: + job: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] + node: ['12', '13', '14'] + steps: + - uses: actions/checkout@v2 + - name: Setup node + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - name: Install packages + run: npm ci + - name: Run e2e tests + run: npm run test diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index ac9cfb5..0000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: lint -on: [push, pull_request] -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Set up node 12 - uses: actions/setup-node@v2-beta - with: - node-version: "12" - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - run: npm install - - run: npm run test \ No newline at end of file From d6983764bf7ff8ed45f8f430cd2ef1947c9f5501 Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Mon, 16 Nov 2020 17:42:41 +0530 Subject: [PATCH 3/3] chore: delete travis ci config file --- .travis.yml | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index bbe4b71..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: node_js -os: - - linux - - osx -node_js: - - 14 - - 13 - - 12