Skip to content

Commit

Permalink
Merge pull request #391 from MurhafSousli/tiny-fix
Browse files Browse the repository at this point in the history
Fix actions and karma dist path
  • Loading branch information
MurhafSousli authored Jan 4, 2025
2 parents 07b9d66 + 4d183c1 commit 33db00e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@master

- name: Use Node.js 20
uses: actions/setup-node@v1
uses: actions/setup-node@master
with:
node-version: 20

Expand All @@ -30,13 +30,13 @@ jobs:
run: npm run test-lib-headless

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
uses: codecov/codecov-action@main
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: MurhafSousli/ngx-progressbar

- name: Code Coverage Report
uses: irongut/CodeCoverageSummary@v1.3.0
uses: irongut/CodeCoverageSummary@master
with:
filename: coverage/**/cobertura-coverage.xml
badge: true
Expand All @@ -49,7 +49,7 @@ jobs:
thresholds: '60 80'

- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@main
if: github.event_name == 'pull_request'
with:
recreate: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@master
- name: Use Node.js 20
uses: actions/setup-node@v1
uses: actions/setup-node@master
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Build demo
run: npm run build
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v3.0.0
uses: nwtgck/actions-netlify@v3
with:
publish-dir: './dist/ngx-progressbar-demo/browser'
production-branch: deploy-netlify
Expand Down
2 changes: 1 addition & 1 deletion projects/ngx-progressbar/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = function (config) {
suppressAll: true // removes the duplicated traces
},
coverageReporter: {
dir: require('path').join(__dirname, '../../coverage/ngx-scrollbar'),
dir: require('path').join(__dirname, '../../coverage/ngx-progressbar'),
subdir: '.',
reporters: [
{ type: 'html' },
Expand Down

0 comments on commit 33db00e

Please sign in to comment.