Skip to content

Update pnpm to v10.23.0 (#1113) #2520

Update pnpm to v10.23.0 (#1113)

Update pnpm to v10.23.0 (#1113) #2520

Workflow file for this run

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@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.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@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.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