From 314c8771dafce8f0719cd0a2f7ce24628b644fee Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Thu, 6 Apr 2023 04:56:39 -0400 Subject: [PATCH] Attempt to fix handbook actions clearly running cd prior to setting up node doesnt work --- .github/workflows/handbook.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/handbook.yml b/.github/workflows/handbook.yml index 9700ee4e4..84a752faa 100644 --- a/.github/workflows/handbook.yml +++ b/.github/workflows/handbook.yml @@ -36,8 +36,10 @@ jobs: restore-keys: | ${{ runner.os }}-node- - name: Install dependencies + working-directory: src/handbook run: npm install - name: Run linter + working-directory: src/handbook run: npm run lint - run: git config --global user.name "github-actions" @@ -54,7 +56,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - run: cd src/handbook - name: Setup Node uses: actions/setup-node@v2 with: @@ -69,9 +70,11 @@ jobs: restore-keys: | ${{ runner.os }}-node- - name: Install dependencies + working-directory: src/handbook run: npm install - name: Build handbook - run: npm run build + working-directory: src/handbook + run: cd src/handbook && npm run build - name: Upload build uses: actions/upload-artifact@v3 with: