Skip to content

Commit

Permalink
Try node 20.13; add npm bin to path
Browse files Browse the repository at this point in the history
  • Loading branch information
geojaz committed May 21, 2024
1 parent 8e0bcbd commit 039a53a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
install:
working_directory: ~/angular-google-charts
docker:
- image: node:16.10
- image: node:20.13
steps:
- checkout
- restore_cache:
Expand All @@ -21,12 +21,14 @@ jobs:
test:
working_directory: ~/angular-google-charts
docker:
- image: node:16.10
- image: node:20.13
steps:
- checkout
- restore_cache:
keys:
- node-{{ checksum "package-lock.json" }}
# - run: echo 'export PATH=$(npm bin):$PATH' >> $BASH_ENV
# - run: echo $PATH
- run:
name: Run tests
command: npm run test -- --ci --coverage --reporters default --reporters jest-junit
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"version": "0.0.0",
"private": false,
"scripts": {
"ng": "ng",
"start": "ng serve playground -o",
"build": "ng build angular-google-charts --configuration production",
"build:watch": "ng build angular-google-charts --configuration production --watch",
"test": "ng test angular-google-charts --coverage",
"lint": "ng lint playground",
"ng": "npx run ng",
"start": "npx run ng serve playground -o",
"build": "npx run ng build angular-google-charts --configuration production",
"build:watch": "npx run ng build angular-google-charts --configuration production --watch",
"test": "npx run ng test angular-google-charts --coverage",
"lint": "npx run ng lint playground",
"release": "standard-version"
},
"workspaces": [
Expand Down

0 comments on commit 039a53a

Please sign in to comment.