diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 595de5c..f8f98f2 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -29,8 +29,8 @@ jobs: node-version: ${{ matrix.node-version }} registry-url: 'https://registry.npmjs.org' - - name: Install pnpm - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v2 + name: Install pnpm with: version: 8 run_install: false @@ -40,16 +40,16 @@ jobs: run: | echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - name: Setup pnpm cache - uses: actions/cache@v3 + - uses: actions/cache@v3 + name: Setup pnpm cache with: - path: node_modules - key: ${{ runner.os }}-${{ matrix.node-version }}-node_modules-${{ hashFiles('**/package-lock.json') }} path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-${{ matrix.node-version }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} + key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-pnpm-store- - - name: Install dependencies + - name: Install dependencies run: pnpm install - name: Build - run: pnpm run build + run: pnpm run build \ No newline at end of file diff --git a/.github/workflows/release-insiders.yml b/.github/workflows/release-insiders.yml index 75c6490..6887f1d 100644 --- a/.github/workflows/release-insiders.yml +++ b/.github/workflows/release-insiders.yml @@ -63,7 +63,7 @@ jobs: run: pnpm version 0.0.0-insiders.${{ env.SHA_SHORT }} --force --no-git-tag-version --prefix vue - name: Publish `radix-icons` - run: pnpm publish --tag insiders + run: pnpm publish --tag insiders --no-git-checks env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}