Skip to content

chore(deps-dev): bump @typescript-eslint/eslint-plugin from 7.5.0 to 7.9.0 #115

chore(deps-dev): bump @typescript-eslint/eslint-plugin from 7.5.0 to 7.9.0

chore(deps-dev): bump @typescript-eslint/eslint-plugin from 7.5.0 to 7.9.0 #115

Workflow file for this run

on:
pull_request:
branches: [main]
name: node-ci
permissions:
pull-requests: read # allows SonarQube to decorate PRs with analysis results
jobs:
sonar-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- uses: SonarSource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
with:
args:
-Dsonar.projectKey=${{ secrets.SONAR_PROJECT_KEY }}
-Dsonar.sources=src
#-Dsonar.tests= # optional. For more info about Code Coverage, please refer to https://docs.sonarcloud.io/enriching/test-coverage/overview/
#-Dsonar.verbose= # optional, default is false
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
node-version: [18.x, 20.x, 21.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v2
with:
version: 8.15.4
- run: pnpm i --no-frozen-lockfile
- run: pnpm test
env:
SCI_API_ENDPOINT: ${{ secrets.SCI_API_ENDPOINT }}
SCI_API_USER: ${{ secrets.SCI_API_USER }}
SCI_API_PASSWORD: ${{ secrets.SCI_API_PASSWORD }}
- run: pnpm build