chore(deps): bump fast-xml-parser from 5.5.9 to 5.7.1 in the npm_and_yarn group across 1 directory #217
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: CI | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| permissions: {} | |
| jobs: | |
| pr-title: | |
| name: PR Title | |
| runs-on: ubuntu-slim | |
| permissions: | |
| pull-requests: read | |
| steps: | |
| - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| test: | |
| name: Unit Tests | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 | |
| with: | |
| node-version-file: "package.json" | |
| - name: Install Dependencies | |
| run: | | |
| npm ci | |
| - name: Check Lint and Formatting | |
| run: npm run lint | |
| - name: Check Types | |
| run: npm run check | |
| - name: Build Action | |
| run: | | |
| npm run build | |
| - name: Run Tests | |
| run: | | |
| npm test | |
| dogfood: | |
| name: Dogfood | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 | |
| with: | |
| node-version-file: "package.json" | |
| - name: Install Dependencies | |
| run: | | |
| npm ci | |
| - name: Build Action | |
| run: | | |
| npm run build | |
| - uses: ./ | |
| with: | |
| preformatted: true | |
| message-id: path | |
| message-path: | | |
| .github/test/file-*.txt | |
| - uses: ./ | |
| with: | |
| message-id: text | |
| message: | | |
| **Hello** | |
| 🌏 | |
| ! | |
| attach-path: .github/test/file-*.txt | |
| attach-name: dogfood-files | |
| - uses: ./ | |
| with: | |
| message-id: text | |
| find: | | |
| Hello | |
| 🌏 | |
| replace: | | |
| Goodnight | |
| 🌕 | |
| - name: Check for dogfood commit | |
| id: dogfood-check | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: | | |
| MSG=$(gh api repos/${{ github.repository }}/commits/${{ github.event.pull_request.head.sha }} --jq '.commit.message | split("\n") | .[0]') | |
| if [[ "$MSG" == dogfood:* ]]; then | |
| echo "match=true" >> "$GITHUB_OUTPUT" | |
| fi | |
| - uses: ./ | |
| if: steps.dogfood-check.outputs.match == 'true' | |
| with: | |
| comment-target: commit | |
| commit-sha: ${{ github.event.pull_request.head.sha }} | |
| message: "ruff 🐶" |