Skip to content

Commit

Permalink
Impr: fixing run front end tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoCunha-19 committed May 18, 2024
1 parent 265c7b7 commit 8486880
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,15 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14.x'
node-version: '18.20.2'

- name: Cache Node.js modules
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: |
Expand Down
8 changes: 7 additions & 1 deletion client/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
browsers: ['ChromeHeadlessCI'],
customLaunchers: {
ChromeHeadlessCI: {
base: 'ChromeHeadless',
flags: ['--no-sandbox', '--disable-gpu']
}
},
singleRun: false,
restartOnFileChange: true
});
Expand Down

0 comments on commit 8486880

Please sign in to comment.