Skip to content

Commit

Permalink
fix: lambda run
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Jul 16, 2024
1 parent 9689ea1 commit 4c0a676
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-edge-function.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
working-directory: examples/next/with-emailpassword
steps:
- uses: actions/checkout@v2
- run: echo $GITHUB_REF_NAME
- run: echo $GITHUB_SHA
- run: npm install git+https://github.com:supertokens/supertokens-node.git#$GITHUB_SHA
- run: npm install
- run: npm install [email protected] [email protected] puppeteer@^11.0.0 isomorphic-fetch@^3.0.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
aws-region: ${{ secrets.AWS_REGION }}
role-duration-seconds: 1200
role-session-name: Github-action
- run: echo $GITHUB_REF_NAME
- run: echo $GITHUB_SHA
- run: npm install git+https://github.com:supertokens/supertokens-node.git#$GITHUB_SHA
- run: npm install
- run: npm install [email protected] [email protected] puppeteer@^11.0.0 isomorphic-fetch@^3.0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mkdir lambda && cd lambda
npm init -y
npm i -s @middy/core @middy/http-cors
npm i --save git+ssh://[email protected]:supertokens/supertokens-node.git#$GITHUB_REF_NAME
npm i --save git+ssh://[email protected]:supertokens/supertokens-node.git#$GITHUB_SHA
mkdir nodejs
cp -r node_modules nodejs
cp package.json nodejs
Expand Down

0 comments on commit 4c0a676

Please sign in to comment.