Update dependency @types/node to v16.18.50 #1172
Workflow file for this run
This file contains 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' | |
- action.yaml | |
- .github/workflows/ts.yaml | |
push: | |
branches: | |
- main | |
paths: | |
- src/** | |
- tests/** | |
- '*.json' | |
- action.yaml | |
- .github/workflows/ts.yaml | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | |
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 | |
with: | |
node-version: 16 | |
cache: yarn | |
- run: yarn | |
- run: yarn test | |
- run: yarn build | |
- run: yarn package | |
- uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4.6.0 | |
id: metadata | |
with: | |
images: ghcr.io/${{ github.repository }}/example | |
- uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.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@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | |
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 | |
with: | |
node-version: 16 | |
cache: yarn | |
- run: yarn | |
- run: yarn lint --fix | |
- run: yarn format | |
- uses: int128/update-generated-files-action@c340c8e219a7159fc46417d34f4cb3ff6eac47ac # v2.40.0 |