build(deps-dev): Bump @biomejs/biome from 2.4.6 to 2.4.7 #3010
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
| name: Test | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: npm ci | |
| - run: | | |
| set -o pipefail | |
| mkdir -p ./pr | |
| EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) | |
| echo "all_result<<$EOF" >> "$GITHUB_ENV" | |
| npm run all >> "$GITHUB_ENV" 2>&1 || true # proceed even if npm run all fails | |
| echo >> "$GITHUB_ENV" # npm run all doesn't necessarily produce a newline | |
| echo "$EOF" >> "$GITHUB_ENV" | |
| id: all | |
| - uses: ./ | |
| if: ${{ github.event_name == 'pull_request' }} | |
| with: | |
| header: All | |
| message: | | |
| <details open> | |
| <summary>Output of npm run all</summary> | |
| ```shell | |
| ${{ env.all_result }} | |
| ``` | |
| </details> | |
| - uses: ./ | |
| if: ${{ github.event_name == 'pull_request' }} | |
| with: | |
| header: All | |
| append: true | |
| hide_details: true | |
| message: | | |
| The build is over. | |
| - name: Lint | |
| run: npm run lint | |
| - name: Format Check | |
| run: npm run format-check |