Skip to content

Bump eslint from 8.57.1 to 9.16.0 #592

Bump eslint from 8.57.1 to 9.16.0

Bump eslint from 8.57.1 to 9.16.0 #592

name: ci-geoserver-node-client
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
run-tests-maintenance:
runs-on: ubuntu-latest
env:
GEOSERVER_VERSION: 2.24.4
steps:
- name: Install program "wait-for-it"
run: sudo apt install wait-for-it
# use Node.js 16 instead of deprecated v12 in Ubuntu image
- uses: actions/setup-node@v3
with:
node-version: '16'
- uses: actions/checkout@v4
# In this step, this action saves a list of existing images,
# the cache is created without them in the post run.
# It also restores the cache if it exists.
- uses: satackey/[email protected]
# Ignore the failure of a step and avoid terminating the job.
continue-on-error: true
- run: docker compose -f test/docker-compose.yml up -d
# finishes when tomcat of GeoServer is running
- run: wait-for-it "localhost:8080"
# we use wget to ensure that GeoServer is running
- run: wget http://localhost:8080/geoserver/web
- run: npm install
- run: npm run test
run-tests-stable:
runs-on: ubuntu-latest
env:
GEOSERVER_VERSION: 2.25.2
steps:
- name: Install program "wait-for-it"
run: sudo apt install wait-for-it
# use Node.js 16 instead of deprecated v12 in Ubuntu image
- uses: actions/setup-node@v3
with:
node-version: '16'
- uses: actions/checkout@v4
# In this step, this action saves a list of existing images,
# the cache is created without them in the post run.
# It also restores the cache if it exists.
- uses: satackey/[email protected]
# Ignore the failure of a step and avoid terminating the job.
continue-on-error: true
- run: docker compose -f test/docker-compose.yml up -d
# finishes when tomcat of GeoServer is running
- run: wait-for-it "localhost:8080"
# we use wget to ensure that GeoServer is running
- run: wget http://localhost:8080/geoserver/web
- run: npm install
- run: npm run test