Skip to content

Bump eslint from 8.53.0 to 9.5.0 #1527

Bump eslint from 8.53.0 to 9.5.0

Bump eslint from 8.53.0 to 9.5.0 #1527

Workflow file for this run

---
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: true
timeout-minutes: 10
strategy:
fail-fast: true
max-parallel: 3
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Update npm to the latest version
run: npm install -g npm@next-9
- name: Install packages that are used in this pipeline
run: npm install --global ajv-cli wait-on
- run: npm install
- uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- run: npm run lint
- name: Validate settings
run: |
npx ajv -d src/settings/example.json -s src/settings/settings.schema.json
npx ajv -d src/settings/test.json -s src/settings/settings.schema.json
- run: mv src/settings/test.json src/settings/production.json
- run: npm run build
- run: npm start & npx wait-on tcp:3001
docker:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Docker Build
run: |
cp src/settings/example.json src/settings/production.json
docker build -t lisa-image .