Skip to content

Commit

Permalink
Merge pull request #1795 from jrjohnson/install-for-lambda
Browse files Browse the repository at this point in the history
Install Dependencies Correctly for AWS Lambda
  • Loading branch information
jrjohnson authored Jul 18, 2024
2 parents bc986f4 + 5b06a04 commit 94e11ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
- name: install dependencies
run: pnpm install
- name: install dependencies hoisted for lambda
run: pnpm install --node-linker=hoisted
- run: pnpm exec serverless package --stage dev
- uses: actions/upload-artifact@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
- name: install dependencies
run: pnpm install
- name: install dependencies hoisted for lambda
run: pnpm install --node-linker=hoisted
- name: Serverless Deploy
run: pnpm run deploy:production
- uses: act10ns/slack@v2
Expand Down

0 comments on commit 94e11ad

Please sign in to comment.