From 844e2967e12adaac2e82ba99189e8a862faa17ea Mon Sep 17 00:00:00 2001 From: Jan Nanista Date: Mon, 5 Feb 2024 15:21:27 -0800 Subject: [PATCH 1/5] chore: Update setup-node action to v4 --- .github/workflows/actions/setup-environment/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions/setup-environment/action.yaml b/.github/workflows/actions/setup-environment/action.yaml index 66aa51d76..08f2e9a3a 100644 --- a/.github/workflows/actions/setup-environment/action.yaml +++ b/.github/workflows/actions/setup-environment/action.yaml @@ -10,7 +10,7 @@ runs: run_install: false - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: ".nvmrc" cache: "pnpm" From 78e21e33ec33642657b757c3edab4f1afc88b9ed Mon Sep 17 00:00:00 2001 From: Jan Nanista Date: Mon, 5 Feb 2024 15:22:03 -0800 Subject: [PATCH 2/5] chore: Add create-lz-oapp environment variables to turbo.json --- turbo.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/turbo.json b/turbo.json index 63ceac763..7076b4377 100644 --- a/turbo.json +++ b/turbo.json @@ -40,6 +40,8 @@ "globalPassThroughEnv": [ "LZ_ENABLE_EXPERIMENTAL_TASK_LZ_DEPLOY", "LZ_ENABLE_EXPERIMENTAL_TASK_LZ_OAPP_CONFIG_INIT", + "LAYERZERO_EXAMPLES_REPOSITORY_URL", + "LAYERZERO_EXAMPLES_REPOSITORY_REF", "MNEMONIC", "NETWORK_URL_VENGABOYS", "NETWORK_URL_BRITNEY", From a8a8110fb07367a84dac02c671eebce7320ad3aa Mon Sep 17 00:00:00 2001 From: Jan Nanista Date: Mon, 5 Feb 2024 15:30:45 -0800 Subject: [PATCH 3/5] chore: Update pnpm/action-setup to v2.4.0 --- .github/workflows/actions/setup-environment/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions/setup-environment/action.yaml b/.github/workflows/actions/setup-environment/action.yaml index 08f2e9a3a..a62ad225b 100644 --- a/.github/workflows/actions/setup-environment/action.yaml +++ b/.github/workflows/actions/setup-environment/action.yaml @@ -3,7 +3,7 @@ description: Setup node & package manager, checkout code runs: using: "composite" steps: - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v2.4.0 name: Install pnpm with: version: 8 From 9eab9eede8c85946a4ea06ab3c60fc2ca8d18863 Mon Sep 17 00:00:00 2001 From: Jan Nanista Date: Mon, 5 Feb 2024 15:42:31 -0800 Subject: [PATCH 4/5] chore: Get rid of pnpm/action-setup in favor of corepack enable --- .github/workflows/actions/setup-environment/action.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/actions/setup-environment/action.yaml b/.github/workflows/actions/setup-environment/action.yaml index a62ad225b..f3a83447d 100644 --- a/.github/workflows/actions/setup-environment/action.yaml +++ b/.github/workflows/actions/setup-environment/action.yaml @@ -3,11 +3,8 @@ description: Setup node & package manager, checkout code runs: using: "composite" steps: - - uses: pnpm/action-setup@v2.4.0 - name: Install pnpm - with: - version: 8 - run_install: false + - name: Enable corepack + run: corepack enable - name: Setup Node.js uses: actions/setup-node@v4 From a853efc7c19b1f680807949441a79f6cce1e5a4c Mon Sep 17 00:00:00 2001 From: Jan Nanista Date: Mon, 5 Feb 2024 15:44:56 -0800 Subject: [PATCH 5/5] fix: Add forgotten shell property in a reusable action --- .github/workflows/actions/setup-environment/action.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/actions/setup-environment/action.yaml b/.github/workflows/actions/setup-environment/action.yaml index f3a83447d..a829fc9ca 100644 --- a/.github/workflows/actions/setup-environment/action.yaml +++ b/.github/workflows/actions/setup-environment/action.yaml @@ -4,6 +4,7 @@ runs: using: "composite" steps: - name: Enable corepack + shell: bash run: corepack enable - name: Setup Node.js