Skip to content

Commit 4654b49

Browse files
committed
change installation order
1 parent 6035584 commit 4654b49

2 files changed

Lines changed: 23 additions & 10 deletions

File tree

.github/workflows/_checks-playwright.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,6 @@ jobs:
8989
HEAD_SHA: ${{ env.HEAD_SHA }}
9090
HEAD_BRANCH_NAME: ${{ env.HEAD_BRANCH_NAME }}
9191
steps:
92-
- name: Checkout with GitHub App
93-
uses: zondax/_actions/checkout-with-app@main
94-
with:
95-
github_app_auth: ${{ inputs.github_app_auth }}
96-
github_app_repos: ${{ inputs.github_app_repos }}
97-
checkout_submodules: ${{ inputs.checkout_submodules }}
98-
app_id: ${{ secrets.app_id }}
99-
app_pem: ${{ secrets.app_pem }}
100-
10192
- name: Setup Ubuntu packages
10293
uses: zondax/_actions/setup-ubuntu-packages@main
10394
with:
@@ -117,6 +108,15 @@ jobs:
117108
- libxkbcommon0
118109
- libasound2
119110
111+
- name: Checkout with GitHub App
112+
uses: zondax/_actions/checkout-with-app@main
113+
with:
114+
github_app_auth: ${{ inputs.github_app_auth }}
115+
github_app_repos: ${{ inputs.github_app_repos }}
116+
checkout_submodules: ${{ inputs.checkout_submodules }}
117+
app_id: ${{ secrets.app_id }}
118+
app_pem: ${{ secrets.app_pem }}
119+
120120
- name: Setup environment variables
121121
if: inputs.use_env_local
122122
run: |

.github/workflows/_publish-npm.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ on:
2121
required: false
2222
type: string
2323
default: ""
24+
base_image:
25+
description: "Docker image to use for base image"
26+
required: false
27+
type: string
28+
default: "ubuntu:24.04"
2429

2530
secrets:
2631
NPM_TOKEN:
@@ -38,9 +43,17 @@ jobs:
3843
timeout-minutes: ${{ inputs.timeout_minutes }}
3944
runs-on: "zondax-runners"
4045
container:
41-
image: node:20-bookworm
46+
image: ${{ inputs.base_image }}
4247

4348
steps:
49+
- name: Setup Ubuntu packages
50+
uses: zondax/_actions/setup-ubuntu-packages@main
51+
with:
52+
packages: |
53+
- git
54+
- unzip
55+
- jq
56+
4457
- name: Checkout with GitHub App
4558
uses: zondax/_actions/checkout-with-app@main
4659
with:

0 commit comments

Comments
 (0)