diff --git a/.github/workflows/deploy_preview.yml b/.github/workflows/deploy_preview.yml index 158c96df7..410e370ec 100644 --- a/.github/workflows/deploy_preview.yml +++ b/.github/workflows/deploy_preview.yml @@ -28,16 +28,15 @@ jobs: with: ref: ${{ github.event.inputs.commit_sha || github.sha }} - - name: Install Dependencies + - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: 20.x + + - name: Install Dependencies run: npm install - name: Build Project - uses: actions/setup-node@v4 - with: - node-version: 20.x run: npm run build - name: Configure AWS Credentials