From 68162cbb8f01363a9eb766fcc1d6258ad2073e9d Mon Sep 17 00:00:00 2001 From: sadeghbarati Date: Tue, 23 Apr 2024 10:34:13 +0330 Subject: [PATCH] chore: test ci --- .github/workflows/publish.yaml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 9d347542..cf6d797f 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -49,26 +49,24 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v3.0.0 + name: Install pnpm # Run a build step here - name: Setup Node.js environment - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: 18 - - - uses: pnpm/action-setup@v2 - name: Install pnpm - with: - version: 8 - run_install: false + node-version: 20 + cache: pnpm - name: Get pnpm store directory shell: bash run: | echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Setup pnpm cache with: path: ${{ env.STORE_PATH }} @@ -77,7 +75,7 @@ jobs: ${{ runner.os }}-pnpm-store- - name: Install dependencies - run: pnpm i --frozen-lockfile + run: pnpm i - name: Build www run: pnpm build