Skip to content

Update int128/update-generated-files-action action to v2.76.0 (#1140) #2577

Update int128/update-generated-files-action action to v2.76.0 (#1140)

Update int128/update-generated-files-action action to v2.76.0 (#1140) #2577

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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.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@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version-file: .node-version
package-manager-cache: false
- run: npm install -g pnpm@latest-10
- run: pnpm i
- run: pnpm run check
- uses: int128/update-generated-files-action@21a93b7745379d3affb27cb6beb5f68d6cb8fd0d # v2.76.0