Skip to content

Commit

Permalink
v.1.20 check in
Browse files Browse the repository at this point in the history
  • Loading branch information
abirismyname authored Mar 8, 2024
1 parent 9cd0e86 commit 435d859
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 5,771 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,11 @@ jobs:
name: test
runs-on: ubuntu-latest
steps:
- name: Collect Workflow Telemetry
uses: runforesight/foresight-workflow-kit-action@v1
if: success() || failure()
with:
api_key: ${{ secrets.FORESIGHT_KEY }}
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version: 12
- run: npm ci
- run: npm run lint
- run: npm run test
- run: npx jest --coverage --coverageReporters=cobertura
- name: Analyze Test and/or Coverage Results
uses: runforesight/foresight-test-kit-action@v1
if: success() || failure()
with:
api_key: ${{ secrets.FORESIGHT_KEY }}
test_format: JUNIT
test_framework: JEST
test_path: ./__tests__
coverage_path: ./coverage
coverage_format: COBERTURA/XML
- run: npx jest --coverage --coverageReporters=cobertura
4 changes: 2 additions & 2 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- name: Generate new discussion
id: create-discussion
uses: abirismyname/create-discussion@v1.1.0
uses: abirismyname/create-discussion@v1.2.0
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -28,7 +28,7 @@ jobs:

- name: Generate new discussion using file
id: create-discussion-with-file
uses: abirismyname/create-discussion@v1.1.0
uses: abirismyname/create-discussion@v1.2.0
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ class OidcClient {
.catch(error => {
throw new Error(`Failed to get ID Token. \n
Error Code : ${error.statusCode}\n
Error Message: ${error.result.message}`);
Error Message: ${error.message}`);
});
const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;
if (!id_token) {
Expand Down
Loading

0 comments on commit 435d859

Please sign in to comment.