From 70013a0e80d370217421d5e43a39aebc0bcb48b7 Mon Sep 17 00:00:00 2001 From: Josh Lee Date: Thu, 14 Nov 2024 11:58:55 -0500 Subject: [PATCH] apparently we have directories --- .github/workflows/build-preview.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-preview.yml b/.github/workflows/build-preview.yml index d58ff8649..bba0ffb2f 100644 --- a/.github/workflows/build-preview.yml +++ b/.github/workflows/build-preview.yml @@ -18,10 +18,6 @@ jobs: build-preview: runs-on: ubuntu-latest steps: - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version-file: package.json - name: Checkout Main Branch 🛎️ uses: actions/checkout@v4 with: @@ -31,6 +27,10 @@ jobs: uses: actions/checkout@v4 with: path: pr-branch + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version-file: pr-branch/package.json - name: Install and Build Main Branch 🔧 run: | npm ci --include=dev