Skip to content

Commit 039a53a

Browse files
committed
Try node 20.13; add npm bin to path
1 parent 8e0bcbd commit 039a53a

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.circleci/config.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
install:
55
working_directory: ~/angular-google-charts
66
docker:
7-
- image: node:16.10
7+
- image: node:20.13
88
steps:
99
- checkout
1010
- restore_cache:
@@ -21,12 +21,14 @@ jobs:
2121
test:
2222
working_directory: ~/angular-google-charts
2323
docker:
24-
- image: node:16.10
24+
- image: node:20.13
2525
steps:
2626
- checkout
2727
- restore_cache:
2828
keys:
2929
- node-{{ checksum "package-lock.json" }}
30+
# - run: echo 'export PATH=$(npm bin):$PATH' >> $BASH_ENV
31+
# - run: echo $PATH
3032
- run:
3133
name: Run tests
3234
command: npm run test -- --ci --coverage --reporters default --reporters jest-junit

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"version": "0.0.0",
55
"private": false,
66
"scripts": {
7-
"ng": "ng",
8-
"start": "ng serve playground -o",
9-
"build": "ng build angular-google-charts --configuration production",
10-
"build:watch": "ng build angular-google-charts --configuration production --watch",
11-
"test": "ng test angular-google-charts --coverage",
12-
"lint": "ng lint playground",
7+
"ng": "npx run ng",
8+
"start": "npx run ng serve playground -o",
9+
"build": "npx run ng build angular-google-charts --configuration production",
10+
"build:watch": "npx run ng build angular-google-charts --configuration production --watch",
11+
"test": "npx run ng test angular-google-charts --coverage",
12+
"lint": "npx run ng lint playground",
1313
"release": "standard-version"
1414
},
1515
"workspaces": [

0 commit comments

Comments
 (0)