Skip to content

feat: Add DateProvider to fix clock skew issues #415

feat: Add DateProvider to fix clock skew issues

feat: Add DateProvider to fix clock skew issues #415

name: "Pre commit hook check"
on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize
jobs:
pr-title:
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 || chown -R 1001:121 "/github/home/.npm" && npm i
# 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: ./hooks/pre-commit.sh