Skip to content

Commit 736cc57

Browse files
committed
chore(ci): use Node 20 and fix version-check paths
- Bump CI NODE_VERSION to 20 to satisfy cross-env/cypress engine - Make check-version.js use absolute paths so it works from any cwd - Version consistency job now passes in CI
1 parent 245bdef commit 736cc57

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [ main, develop ]
88

99
env:
10-
NODE_VERSION: '18'
10+
NODE_VERSION: '20'
1111
DOTNET_VERSION: '9.0.x'
1212

1313
jobs:

‎scripts/check-version.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ const path = require('path');
1010

1111
// Configuration
1212
const CONFIG = {
13-
versionFile: 'VERSION',
14-
packageJson: 'client-ts/package.json',
15-
csprojFile: 'TaskManagerApp.csproj'
13+
versionFile: path.join(__dirname, '..', 'VERSION'),
14+
packageJson: path.join(__dirname, '..', 'client-ts', 'package.json'),
15+
csprojFile: path.join(__dirname, '..', 'TaskManagerApp.csproj')
1616
};
1717

1818
// ANSI Colors

0 commit comments

Comments
 (0)