Update dependency @types/node to v25.6.0 #2467
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: Builds, tests & co | |
| on: | |
| - push | |
| - pull_request | |
| permissions: read-all | |
| jobs: | |
| hygiene: | |
| name: Hygiene | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout tree | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Set-up Mise | |
| uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 | |
| with: | |
| cache: false | |
| - run: bun install --frozen-lockfile | |
| - run: bun run format:check | |
| - run: bun run lint | |
| - run: bun run type-check | |
| - name: Ensure dist directory is up-to-date | |
| if: runner.os == 'Linux' | |
| shell: bash | |
| run: | | |
| bun run build | |
| if [ "$(git status dist --porcelain | wc -l)" -gt "0" ]; then | |
| echo "Detected uncommitted changes after build. See status below:" | |
| git diff | |
| exit 1 | |
| fi | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout tree | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Use latest Packer | |
| uses: ./ | |
| build-and-push: | |
| name: Build and Push | |
| if: ${{ github.event_name == 'pull_request' && github.actor == 'renovate[bot]' }} | |
| permissions: | |
| contents: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout tree | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 2 | |
| ref: ${{ github.head_ref }} | |
| - name: Set-up Mise | |
| uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 | |
| with: | |
| cache: false | |
| - run: bun install --frozen-lockfile | |
| - run: bun run build | |
| - name: Get last commit message | |
| id: last-commit-message | |
| run: echo "message=$(git log -1 --pretty=%s)" >>"$GITHUB_OUTPUT" | |
| - name: Commit changes | |
| uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7.1.0 | |
| with: | |
| commit_message: ${{ steps.last-commit-message.outputs.message }} | |
| commit_options: --amend --no-edit | |
| push_options: --force | |
| skip_fetch: true |