Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ jobs:
FIREBOLT_CLIENT_ID: ${{ secrets.SERVICE_ID_STG }}
FIREBOLT_CLIENT_SECRET: ${{ secrets.SERVICE_SECRET_STG }}
run: |
npm run test:ci integration/v1
npm run test:ci integration/v1
49 changes: 26 additions & 23 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,32 @@ on:

jobs:
code-checks:

runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: '16'

- name: Install dependencies
run: npm install

- name: Type check with typescript
run: npm run type-check

- name: Test with jest
run: npm test -- --coverage test/unit

- name: Upload coverage report
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: coverage
path: coverage/
retention-days: 1
- name: Check out code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: '16'

- name: Install dependencies
run: npm install

- name: Type check with typescript
run: |
npm run type-check

- name: Test with jest
run: |
npm test -- --coverage test/unit

- name: "Security Scan"
if: github.event.repository.fork == false
uses: SonarSource/sonarqube-scan-action@a31c9398be7ace6bbfaf30c0bd5d415f843d45e9 # v7.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/release-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@ jobs:
publish:
runs-on: ubuntu-latest
needs: integration-tests
steps:
steps:
- name: Check out code
uses: actions/checkout@v6
with:
fetch-depth: 0
token: ${{ secrets.RELEASE_PAT }}

- name: Set up node.js
uses: actions/setup-node@v6
with:
node-version: '16'

- name: Install dependencies
run: |
npm install
Expand All @@ -43,7 +43,7 @@ jobs:
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"

- name: Build
run: |
npm run build
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/sonar.yaml

This file was deleted.