Skip to content

[TES-5093] Use apikey of job, config organizationId instead of teamId #96

[TES-5093] Use apikey of job, config organizationId instead of teamId

[TES-5093] Use apikey of job, config organizationId instead of teamId #96

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- master
- release
concurrency:
group: test-${{ github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Katalon Agent
uses: actions/checkout@v3
- name: Set up Nodejs 14
uses: actions/setup-node@v3
with:
node-version: '14'
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Run test
run: |
npm ci
npm run eslint
npm run test:coverage || true
npm run buildLinux --if-present
sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage/lcov.info
- name: Sonar Cloud Scan
uses: SonarSource/[email protected]
with:
args: >
-Dsonar.verbose=true
-X
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Run ESLint check
uses: sibiraj-s/action-eslint@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
eslint-args: '-c .eslintrc.yml'
extensions: 'js'
annotations: true