Skip to content

Commit

Permalink
fix(ci): bump node to lts
Browse files Browse the repository at this point in the history
BREAKING CHANGE: drop EOL node versions

see eXist-db#604
  • Loading branch information
duncdrum committed Dec 19, 2023
1 parent a4b242e commit ffecdd6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ jobs:
matrix:
exist-version: [release, latest]
java-version: [8, 17]
node-version: ['14', '16', '18', '20']
node-version: ['18', '20']
exclude:
- exist-version: release
java-version: 17
- exist-version: latest
java-version: 8

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

# Install dependencies and build EXPath Package
- name: Install node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand All @@ -49,15 +49,15 @@ jobs:
run: npx cypress run

- name: Upload Cypress Screenshots (on failure)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-${{ matrix.exist-version }}-${{ matrix.java-version }}-${{ matrix.node-version }}
path: cypress/screenshots

# Test run video was always captured, so this action uses "always()" condition
- name: Upload Cypress Videos
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: cypress-videos-${{ matrix.exist-version }}-${{ matrix.java-version }}-${{ matrix.node-version }}
Expand All @@ -71,13 +71,13 @@ jobs:
# if: github.ref == 'refs/heads/main'
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - name: Setup Node.js
# uses: actions/setup-node@v2
# uses: actions/setup-node@v4
# with:
# node-version: 14
# node-version: 18
# cache: 'npm'
# - name: Install dependencies
# run: npm ci
Expand Down

0 comments on commit ffecdd6

Please sign in to comment.