Skip to content

Commit

Permalink
Merge pull request #58 from kiegroup/nodejs20-upgrade
Browse files Browse the repository at this point in the history
Update coverage_report.yml
  • Loading branch information
mareknovotny committed Aug 29, 2024
2 parents bf2cf7b + 9102be6 commit 98b3bcc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/action-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20
registry-url: https://registry.npmjs.org/
- run: yarn
- run: yarn publish --access public
working-directory: packages/action/
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
13 changes: 6 additions & 7 deletions .github/workflows/coverage_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ jobs:
name: Publish coverage report
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup sonarqube
uses: warchant/setup-sonar-scanner@v3
uses: warchant/setup-sonar-scanner@v8
- name: coverage report
uses: actions/setup-node@v1
with:
# node 12 support is deprecated in sonar
node-version: 14
uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run test:report
- run: sonar-scanner
Expand All @@ -32,4 +31,4 @@ jobs:
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
-Dsonar.exclusions=packages/action/test/**,packages/action/webpage/**
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 98b3bcc

Please sign in to comment.