-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Updating Contributing Requirements (#116)
* 📝 Update the requirements in docs * Update Changelog * Add pre-commit hook workflow * Apply formatting to all files in TestingApp
- Loading branch information
1 parent
dedcfbd
commit 7d32ca1
Showing
13 changed files
with
305 additions
and
279 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: "Pre commit hook check" | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- edited | ||
- synchronize | ||
|
||
jobs: | ||
pre-commit-check: | ||
name: Pre commit hook check | ||
runs-on: ubuntu-latest | ||
container: rishabhpoddar/supertokens_website_sdk_testing_node_16 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: 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 || true | ||
# the below command is there cause otherwise running npm run check-circular-dependencies gives an error like: | ||
# Your cache folder contains root-owned files, due to a bug in | ||
# npm ERR! previous versions of npm which has since been addressed. | ||
- run: chown -R 1001:121 "/github/home/.npm" | ||
- run: 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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.