Skip to content

Bump eslint from 9.11.1 to 9.14.0 #182

Bump eslint from 9.11.1 to 9.14.0

Bump eslint from 9.11.1 to 9.14.0 #182

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: CI
strategy:
fail-fast: false
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Build
shell: bash
run: |
npm ci
npm run langium:generate:production
npm run build
- name: Test
if: success() || failure()
shell: bash
run: |
npm run coverage
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
# Additional arguments for the sonarcloud scanner
args:
-Dsonar.projectKey=ydaveluy_xsmp-modeler
-Dsonar.organization=ydaveluy
-Dsonar.sources=src/
-Dsonar.exclusions=src/language/generated/*,out/**
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
-Dsonar.coverage.exclusions=**/*.test.*
-Dsonar.tests=test/
-Dsonar.links.scm=https://github.com/ydaveluy/xsmp-modeler
-Dsonar.links.issue=https://github.com/ydaveluy/xsmp-modeler/issues