Skip to content

Commit 36b9e44

Browse files
committed
bump to node 22
1 parent 528af72 commit 36b9e44

1 file changed

Lines changed: 8 additions & 15 deletions

File tree

.github/workflows/_checks-playwright.yaml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525
node_version:
2626
description: "Node.js container version"
2727
type: string
28-
default: "node:20-bookworm"
28+
default: "node:22-bookworm"
2929
use_env_local:
3030
description: "Whether to use the environment local file provided in secrets"
3131
type: boolean
@@ -85,21 +85,14 @@ jobs:
8585
HEAD_SHA: ${{ env.HEAD_SHA }}
8686
HEAD_BRANCH_NAME: ${{ env.HEAD_BRANCH_NAME }}
8787
steps:
88-
- name: Generate GitHub App Token
89-
id: app-token
90-
if: inputs.github_app_auth != false
91-
uses: actions/create-github-app-token@v2
88+
- name: Checkout with GitHub App
89+
uses: zondax/_actions/checkout-with-app@main
9290
with:
93-
app-id: ${{ secrets.app_id }}
94-
private-key: ${{ secrets.app_pem }}
95-
repositories: ${{ inputs.github_app_repos }}
96-
97-
- name: Checkout
98-
uses: actions/checkout@v4
99-
with:
100-
fetch-depth: 0 # Disable shallow clone
101-
submodules: ${{ inputs.checkout_submodules }}
102-
token: ${{ steps.app-token.outputs.token || github.token }}
91+
github_app_auth: ${{ inputs.github_app_auth }}
92+
github_app_repos: ${{ inputs.github_app_repos }}
93+
checkout_submodules: ${{ inputs.checkout_submodules }}
94+
app_id: ${{ secrets.app_id }}
95+
app_pem: ${{ secrets.app_pem }}
10396

10497
- name: Install system dependencies
10598
run: |

0 commit comments

Comments
 (0)