Skip to content

Commit

Permalink
fix(release): exclude node_modules from zip artifacts (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
chimpdev authored Oct 23, 2024
1 parent 64139d3 commit e41162a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
cache-path: server/node_modules
cache-key: "${{hashFiles('server/pnpm-lock.yaml')}}"
project: server
- run: zip -r server.zip server
- run: zip -r server.zip server -x "**/node_modules/*"
- name: Upload Release Artifact
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -66,7 +66,7 @@ jobs:
cache-path: client/node_modules
cache-key: "${{hashFiles('client/pnpm-lock.yaml')}}"
project: client
- run: zip -r client.zip client
- run: zip -r client.zip client -x "**/node_modules/*"
- name: Upload Release Artifact
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -88,7 +88,7 @@ jobs:
cache-path: docs/node_modules
cache-key: "${{hashFiles('docs/pnpm-lock.yaml')}}"
project: docs
- run: zip -r docs.zip docs
- run: zip -r docs.zip docs -x "**/node_modules/*"
- name: Upload Release Artifact
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit e41162a

Please sign in to comment.