From 5da9cb034ec1f311677fd0db3931176ee2797dc2 Mon Sep 17 00:00:00 2001 From: Jason Walton Date: Fri, 7 Jan 2022 13:17:12 -0500 Subject: [PATCH] ci: Stop testing on node 10 and 12. BREAKING CHANGE: No longer running unit tests on node 10 and 12, although this package may continue to work on these. --- .github/workflows/github-ci.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/github-ci.yaml b/.github/workflows/github-ci.yaml index acc5059..352bc6b 100644 --- a/.github/workflows/github-ci.yaml +++ b/.github/workflows/github-ci.yaml @@ -1,16 +1,21 @@ name: GitHub CI -on: [push, pull_request] +on: + push: + branches: [master] + tags: + - '*' + pull_request: jobs: test: runs-on: ubuntu-latest strategy: matrix: - node-version: [10.x, 12.x, 14.x] + node-version: [14.x, 16.x, 'lts/*'] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - run: docker-compose up -d @@ -40,9 +45,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: '14' + node-version: 'lts/*' - run: npm install - name: semantic-release run: npm run semantic-release