From 56298b77c7101bc28faf800cfe52ca69fc50ce02 Mon Sep 17 00:00:00 2001 From: Mathias Klippinge Date: Thu, 21 Dec 2023 15:09:59 +0100 Subject: [PATCH] I think I figured out why there are win32 package complaints now... --- .github/actions/setup-smoke-test/action.yml | 28 +++++++++++---------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/actions/setup-smoke-test/action.yml b/.github/actions/setup-smoke-test/action.yml index 065296b4..48ba43d2 100644 --- a/.github/actions/setup-smoke-test/action.yml +++ b/.github/actions/setup-smoke-test/action.yml @@ -14,36 +14,38 @@ inputs: runs: using: composite steps: - - name: Checkout mappersmith/ - uses: actions/checkout@v4 - with: - path: mappersmith - name: Checkout mappersmith-consumer/ uses: actions/checkout@v4 with: repository: klippx/mappersmith-consumer path: mappersmith-consumer - - name: Install bun - uses: oven-sh/setup-bun@v1 - with: - bun-version: ${{ inputs.bun-version }} - - name: Install node ${{ inputs.node-version }} uses: actions/setup-node@v3 with: node-version: ${{ inputs.node-version }} - - name: Install deps in mappersmith/ + - name: Install bun + uses: oven-sh/setup-bun@v1 + with: + bun-version: ${{ inputs.bun-version }} + + # This actually need to be done before checking out mappersmith/ otherwise yarn will get "win32" config in `supportedArchitectures` which mappersmith-consumer/ does not support. + - name: Install deps in mappersmith-consumer/ run: | - cd mappersmith + cd mappersmith-consumer yarn config yarn install --immutable --immutable-cache shell: bash - - name: Install deps in mappersmith-consumer/ + - name: Checkout mappersmith/ + uses: actions/checkout@v4 + with: + path: mappersmith + + - name: Install deps in mappersmith/ run: | - cd mappersmith-consumer + cd mappersmith yarn config yarn install --immutable --immutable-cache shell: bash