diff --git a/.github/workflows/test-deploy-website.yml b/.github/workflows/test-deploy-website.yml index 09008dd..a2b7c8b 100644 --- a/.github/workflows/test-deploy-website.yml +++ b/.github/workflows/test-deploy-website.yml @@ -4,28 +4,32 @@ on: pull_request: branches: - main - # Review gh actions docs if you want to further define triggers, paths, etc - # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on jobs: test-deploy: name: Test deployment runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout code + uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Navigate to website directory - working-directory: website - run: | - echo "Navigating to the website directory" - - uses: actions/setup-node@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 with: node-version: 18 cache: yarn + - name: ls + run: ls + working-directory: ./website + + # Navigate into the website folder for all subsequent steps - name: Install dependencies run: yarn install --frozen-lockfile + working-directory: ./website + - name: Test build website run: yarn build + working-directory: ./website