Skip to content

Commit 7847a94

Browse files
Small update (#171)
2 parents efdf8a8 + 54c7595 commit 7847a94

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/nodeCI.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
pull_request:
66

7+
env:
8+
FORCE_COLOR: 1
9+
710
jobs:
811
build:
912
strategy:

generator/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ module.exports = (api, options = {}) => {
101101
if (options.electronBuilder.addTests) {
102102
addScript('test', 'playwright test')
103103
devDependencies['@playwright/test'] = '^1.41.0'
104-
devDependencies['playwright-core'] = '^1.41s.0'
104+
devDependencies['playwright-core'] = '^1.41.0'
105105
}
106106
api.extendPackage({
107107
scripts,

jest.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
const { GITHUB_ACTIONS } = require('ci-info')
2+
3+
/** @type {import('jest').Config} */
14
module.exports = {
25
testEnvironment: 'node',
36
setupFiles: ['<rootDir>/__tests__/setup.helper.js'],
@@ -14,5 +17,5 @@ module.exports = {
1417
'lib/testWithPlaywright.helper.js',
1518
'lib/webpackConfig.js'
1619
],
17-
reporters: process.env.CI ? [['github-actions', { silent: false }], 'summary'] : ['default']
20+
reporters: GITHUB_ACTIONS ? [['github-actions', { silent: false }], 'summary'] : ['default']
1821
}

0 commit comments

Comments
 (0)