-
Notifications
You must be signed in to change notification settings - Fork 46
fix: correct code / type in getTokens call #330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,6 +4,7 @@ on: | |
| branches: | ||
| - develop | ||
| - master | ||
| workflow_dispatch: | ||
| env: | ||
| NX_CLOUD_DISTRIBUTED_EXECUTION: true | ||
| jobs: | ||
|
|
@@ -59,7 +60,6 @@ jobs: | |
| - run: npm ci | ||
| if: steps.cache.outputs.cache-hit != 'true' | ||
| env: | ||
| # PLAYWRIGHT_BROWSERS_PATH: 0 | ||
| PLAYWRIGHT_SKIP_BROWSERS_DOWNLOAD: 1 | ||
| - run: npm install @nrwl/nx-cloud | ||
| - name: Start Nx Agent ${{ matrix.agent }} | ||
|
|
@@ -75,18 +75,22 @@ jobs: | |
| - uses: actions/checkout@v3 | ||
| with: | ||
| fetch-depth: 0 | ||
| ssh-key: ${{ secrets.SSH_PUBLIC_KEY }} | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. authenticate clone the repo |
||
| persist-credentials: false | ||
| - uses: webfactory/ssh-agent@v0.5.4 | ||
| with: | ||
| ssh-private-key: ${{ secrets.SSH_KEY }} | ||
| - name: Set git config username and email | ||
| run: git config user.email "ryan.basmajian@forgerock.com" && git config user.name "ryanbas21" | ||
| shell: bash | ||
| - uses: actions/setup-node@v3 | ||
| id: cache | ||
| with: | ||
| node-version: '16.x' | ||
| scope: '@forgerock' | ||
| - name: Import GPG | ||
| uses: crazy-max/ghaction-import-gpg@v5.2.0 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sign the commits. its locked to v5.2.0 as per our old discussion |
||
| with: | ||
| gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is my gpg private key |
||
| git_user_signingkey: true | ||
| git_commit_gpgsign: true | ||
| git_committer_email: 'ryan.basmajian@forgerock.com' | ||
| git_push_gpgsign: true | ||
| git_config_global: true | ||
| - run: npm ci | ||
| - run: npm install @nrwl/nx-cloud | ||
| - run: npm run build | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,7 +45,7 @@ | |
| "@commitlint/config-conventional": "^17.4.2", | ||
| "@commitlint/config-nx-scopes": "^17.4.2", | ||
| "@commitlint/prompt": "^16.2.3", | ||
| "@jscutlery/semver": "2.29.3", | ||
| "@jscutlery/semver": "2.30.1", | ||
| "@nrwl/angular": "15.6.3", | ||
| "@nrwl/cli": "15.6.3", | ||
| "@nrwl/eslint-plugin-nx": "15.6.3", | ||
|
|
@@ -92,7 +92,7 @@ | |
| "ts-loader": "^8.0.17", | ||
| "ts-node": "10.9.1", | ||
| "typedoc": "^0.17.7", | ||
| "typescript": "4.8.4", | ||
| "typescript": "4.9.5", | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. satisfies operator and newer ts stuff
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just wondering we have something for this project like dependabot that we use (whether manual or automated), to identify which of these dependencies need updating and when?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we have dependabot but not configured or setup really like i did in the other repo |
||
| "webpack": "^5.64.1", | ||
| "webpack-cli": "^4.7.2" | ||
| }, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -68,7 +68,7 @@ | |
| "dryRun": true, | ||
| "push": true, | ||
| "tagPrefix": "v", | ||
| "postTargets": [] | ||
| "postTargets": ["javascript-sdk:deploy", "javascript-sdk:github"] | ||
| }, | ||
| "configurations": { | ||
| "beta": { | ||
|
|
@@ -81,7 +81,7 @@ | |
| "commitMessageFormat": "release: ${version} [skip ci]", | ||
| "remote": "origin", | ||
| "push": true, | ||
| "postTargets": ["javascript-sdk:deploy:beta"], | ||
| "postTargets": ["javascript-sdk:deploy:beta", "javascript-sdk:github:beta"], | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are you able to explain what we're adding here, with
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. its a post target, so after this runs, it will run that nx target. |
||
| "dryRun": false | ||
| } | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allows this to be run wihtout a pr (mostly for me sanity checking or re reunning things or if we want to cut a release without a pr)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a look at the file separately as it looked odd - l shouldn't the
workflow_dispatchkey have a value, or some child keys indented below it? At first glance I assumed env: was a child of this but now seeing it without this review block in the way I don't quite understand how this is valid.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we don't really pass any inputs into this workflow, so i don't think we need anything. Truthfully im not entirely sure we need this to begin with, i was adding it as a way of running CI without needing a PR up. so if you just need to sanity check things or something odd fails and you want to re run the branch