Update pnpm to v10.23.0 #2512
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: ts | |
| on: | |
| pull_request: | |
| paths: | |
| - src/** | |
| - tests/** | |
| - '*.json' | |
| - '*.yaml' | |
| - .github/workflows/ts.yaml | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - src/** | |
| - tests/** | |
| - '*.json' | |
| - '*.yaml' | |
| - .github/workflows/ts.yaml | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 | |
| with: | |
| node-version-file: .node-version | |
| package-manager-cache: false | |
| - run: npm install -g pnpm@latest-10 | |
| - run: pnpm i | |
| - run: pnpm test | |
| - run: pnpm build | |
| - uses: docker/metadata-action@318604b99e75e41977312d83839a89be02ca4893 # v5.9.0 | |
| id: metadata | |
| with: | |
| images: ghcr.io/${{ github.repository }}/example | |
| - uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: int128/kaniko-action | |
| id: build | |
| uses: ./ | |
| with: | |
| push: true | |
| tags: ${{ steps.metadata.outputs.tags }} | |
| labels: ${{ steps.metadata.outputs.labels }} | |
| context: tests/fixtures | |
| - run: test '${{ steps.build.outputs.digest }}' | |
| - name: int128/kaniko-action | |
| id: build-with-cache | |
| uses: ./ | |
| with: | |
| push: true | |
| tags: ${{ steps.metadata.outputs.tags }} | |
| labels: ${{ steps.metadata.outputs.labels }} | |
| context: tests/fixtures | |
| cache: true | |
| cache-repository: ghcr.io/${{ github.repository }}/cache | |
| - run: test '${{ steps.build-with-cache.outputs.digest }}' | |
| generate: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 | |
| with: | |
| node-version-file: .node-version | |
| package-manager-cache: false | |
| - run: npm install -g pnpm@latest-10 | |
| - run: pnpm i | |
| - run: pnpm biome check --fix | |
| - uses: int128/update-generated-files-action@d9aac571db84cee6c16fa20190621e9deb2bc575 # v2.67.0 |