Skip to content

Commit

Permalink
chore(JGIVEN-3): Use npm instead of yarn in workflow
Browse files Browse the repository at this point in the history
Signed-off-by: l-1squared <[email protected]>
  • Loading branch information
l-1squared committed Oct 25, 2024
1 parent 7d5b3b2 commit b8cbab1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/html-app-branch_and_pr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install
run: yarn install
run: npm install
- name: Build
run: yarn build
run: npm run build
- name: Test
run: yarn test
run: npm run test
# Sample CI for react apps
react:
defaults:
Expand Down
2 changes: 1 addition & 1 deletion legacy/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module.exports = function (config) {

// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['jsdom'],
browsers: ['ChromeHeadless', 'jsdom'],

// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
Expand Down
2 changes: 1 addition & 1 deletion legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"scripts": {
"start": "webpack-dev-server --progress --port 8085",
"debug": "webpack-dev-server -d --progress",
"test": "karma start --debug --single-run --browsers jsdom",
"test": "karma start --debug --single-run",
"test-watch": "karma start --debug",
"build": "mkdir dist && webpack --progress --mode=development",
"integration-test": "yarn build && rm -rf integration && cp -r dist integration && cp -r data integration",
Expand Down

0 comments on commit b8cbab1

Please sign in to comment.