chore(deps-dev): bump vite from 5.2.8 to 5.3.3 #133
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/sonarqube-scan-action@v2.0.2 | |
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 |