From 7d63baeef8f054261fd00d76f9b2364dbd6f6abc Mon Sep 17 00:00:00 2001 From: Andrew Waterman <65307+awaterma@users.noreply.github.com> Date: Tue, 21 Sep 2021 16:50:32 -0700 Subject: [PATCH] Issue #213 -- added gh-actions flow for building and testing tough-cookie with all current version of node. This should replace our Travis testing. --- .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..69e4d63a --- /dev/null +++ b/.github/workflows/integration.yaml @@ -0,0 +1,26 @@ +name: Actions-CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +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