Skip to content

Commit

Permalink
Merge pull request #95 from a0v0/ci-fix-release-patch
Browse files Browse the repository at this point in the history
chore ci release fix
  • Loading branch information
a0v0 authored Aug 20, 2024
2 parents b404cfd + 7ec4b43 commit aef8b87
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,29 @@ jobs:
with:
fetch-depth: 0

- uses: wyvox/action-setup-pnpm@v3
- uses: actions/cache@v4
with:
# See here for caching with `yarn` https://github.com/actions/cache/blob/main/examples.md#node---yarn or you can leverage caching with actions/setup-node https://github.com/actions/setup-node
path: |
~/.pnpm-store
${{ github.workspace }}/.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}


- run: HUSKY=0 npm ci
cache: 'pnpm'
- name: Install dependencies
run: pnpm install i

- name: Release
env:
Expand Down

0 comments on commit aef8b87

Please sign in to comment.