From f41745d91872aa7728994b7c3775aa186db4cfbe Mon Sep 17 00:00:00 2001 From: despiegk Date: Sun, 1 Dec 2024 07:45:19 +0300 Subject: [PATCH] ... --- .github/workflows/main.yaml | 56 ++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 553eb84..aac0af3 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -18,34 +18,34 @@ jobs: - name: Check out repo uses: actions/checkout@v4 # Node is required for pnpm - # - name: Set up Node - # uses: actions/setup-node@v4 - # with: - # node-version: "20" - # # Setup pnpm - # - name: Setup pnpm - # uses: pnpm/action-setup@v2 - # with: - # version: latest - # run_install: false - # # Get pnpm store directory - # - name: Get pnpm store directory - # shell: bash - # run: | - # echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - # # Setup pnpm cache - # - name: Setup pnpm cache - # uses: actions/cache@v3 - # with: - # path: ${{ env.STORE_PATH }} - # key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - # restore-keys: | - # ${{ runner.os }}-pnpm-store- - # # Install and build Docusaurus website - # - name: Build Docusaurus website - # run: | - # pnpm install - # pnpm run build + - name: Set up Node + uses: actions/setup-node@v4 + with: + node-version: "20" + # Setup pnpm + - name: Setup pnpm + uses: pnpm/action-setup@v2 + with: + version: latest + run_install: false + # Get pnpm store directory + - name: Get pnpm store directory + shell: bash + run: | + echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV + # Setup pnpm cache + - name: Setup pnpm cache + uses: actions/cache@v3 + with: + path: ${{ env.STORE_PATH }} + key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-pnpm-store- + # Install and build Docusaurus website + - name: Build Docusaurus website + run: | + pnpm install + pnpm run build - name: Set up SSH key run: | set -ex