Skip to content

chore(deps): update actions/checkout action to v4.2.0 #2141

chore(deps): update actions/checkout action to v4.2.0

chore(deps): update actions/checkout action to v4.2.0 #2141

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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: 20
- run: corepack enable pnpm
- run: pnpm i
- run: pnpm test
- run: pnpm build
# e2e test
- uses: ./
id: cache-params
with:
image: ghcr.io/${{ github.repository }}/cache
- uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
id: metadata
with:
images: ghcr.io/${{ github.repository }}
- uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
- uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
id: build
with:
context: tests/fixture
push: ${{ github.event_name == 'push' }}
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
cache-from: ${{ steps.cache-params.outputs.cache-from }}
cache-to: ${{ steps.cache-params.outputs.cache-to }}
generate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: 20
- run: corepack enable pnpm
- run: pnpm i
- run: pnpm lint --fix
- run: pnpm format
- uses: int128/update-generated-files-action@6ac8557861efc7d8c34f4e3f182f9c39b26e6e76 # v2.53.0