From 713403e9a9c796c48dc95433c89cdc78b86a8b33 Mon Sep 17 00:00:00 2001 From: Andrew Waterman <65307+awaterma@users.noreply.github.com> Date: Mon, 27 Sep 2021 14:18:16 -0700 Subject: [PATCH] =?UTF-8?q?Issue=20#213=20--=20added=20gh-actions=20flow?= =?UTF-8?q?=20for=20building=20and=20testing=20tough-co=E2=80=A6=20(#218)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Issue #213 -- added gh-actions flow for building and testing tough-cookie with all current version of node. This should replace our Travis testing. * 213 -- Updated target branch for workflow. --- .github/workflows/integration.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/integration.yaml diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml new file mode 100644 index 00000000..db3035e4 --- /dev/null +++ b/.github/workflows/integration.yaml @@ -0,0 +1,26 @@ +name: Actions-CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [12.x, 14.x, 16.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + - name: Install dependencies and test + run: npm ci + - run: npm test