-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: lambda run * fix: pre-commit * fix: pre-commit
- Loading branch information
Showing
4 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,13 +12,12 @@ jobs: | |
pr-title: | ||
name: Pre commit hook check | ||
runs-on: ubuntu-latest | ||
container: rishabhpoddar/supertokens_website_sdk_testing | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "16" | ||
- run: git init && git add --all && git -c user.name='test' -c user.email='[email protected]' commit -m 'init for pr action' | ||
node-version: 16 | ||
- run: rm -rf .git && git init && git add --all && git -c user.name='test' -c user.email='[email protected]' commit -m 'init for pr action' | ||
- run: npm i --force && cd test/with-typescript && npm i --force | ||
- run: ./hooks/pre-commit.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|