chore(deps): bump nginx/nginx in /packages/compas-open-scd #226
Workflow file for this run
This file contains hidden or 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
| # SPDX-FileCopyrightText: 2026 Alliander N.V. | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: SonarCloud Build | |
| on: | |
| push: | |
| branches: | |
| - "**" | |
| pull_request: | |
| branches: | |
| - "main" | |
| - "develop" | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| fetch-depth: 0 | |
| submodules: "true" | |
| - name: Use Node.js 20.x | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 | |
| with: | |
| node-version: "20.x" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build | |
| run: npm run-script build | |
| - name: Run tests with coverage | |
| run: | | |
| cd packages/compas-open-scd | |
| npm run-script test | |
| - name: Save PR number to file | |
| if: ${{ github.event_name == 'pull_request' }} | |
| env: | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| run: echo "$PR_NUMBER" > PR_NUMBER.txt | |
| - name: Archive PR number | |
| if: ${{ github.event_name == 'pull_request' }} | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: PR_NUMBER | |
| path: PR_NUMBER.txt | |
| - name: Archive coverage report | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: coverage | |
| path: packages/compas-open-scd/coverage/ |