From 019bfe88c20f0616faa55062b4cb737007952ec3 Mon Sep 17 00:00:00 2001 From: Davlatjon Shavkatov Date: Sun, 7 Jul 2024 22:42:08 +0500 Subject: [PATCH] chore: update GH-Action workflow --- .github/workflows/lint_release.yml | 18 +++++++++++++++++- .nvmrc | 1 - 2 files changed, 17 insertions(+), 2 deletions(-) delete mode 100644 .nvmrc diff --git a/.github/workflows/lint_release.yml b/.github/workflows/lint_release.yml index b09363ea..4046254b 100644 --- a/.github/workflows/lint_release.yml +++ b/.github/workflows/lint_release.yml @@ -29,7 +29,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v4 with: - version: 8 + version: 9 run_install: false - name: Get pnpm store directory @@ -74,6 +74,22 @@ jobs: version: 9 run_install: false + - name: Get pnpm store directory + shell: bash + run: | + echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV + + - name: Cache + uses: actions/cache@v4 + with: + path: ${{ env.STORE_PATH }} + key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-pnpm-store- + + - name: Install dependencies + run: pnpm install + - name: Release env: GIT_USERNAME: ${{ vars.GIT_USERNAME }} diff --git a/.nvmrc b/.nvmrc deleted file mode 100644 index 9a2a0e21..00000000 --- a/.nvmrc +++ /dev/null @@ -1 +0,0 @@ -v20