@@ -32,14 +32,14 @@ jobs:
32
32
with :
33
33
node-version : ${{ matrix.node-version }}
34
34
35
- - name : yarn install
36
- run : yarn
35
+ - name : npm install
36
+ run : npm install
37
37
38
38
- name : run formatting and license check
39
- run : yarn format:check
39
+ run : npm run format:check
40
40
41
41
- name : run unit tests (includes lint)
42
- run : yarn test
42
+ run : npm run test
43
43
44
44
node-integration-test :
45
45
if : github.secret_source == 'Actions'
@@ -53,15 +53,15 @@ jobs:
53
53
uses : actions/setup-node@v3
54
54
with :
55
55
node-version : ${{ matrix.node-version }}
56
- cache : ' yarn '
56
+ cache : ' npm '
57
57
58
- - name : yarn install
59
- run : yarn
58
+ - name : npm install
59
+ run : npm install
60
60
61
61
- name : run node iTests
62
62
env :
63
63
GEMINI_API_KEY : ${{ secrets.GEMINI_API_KEY }}
64
- run : yarn test:node:integration
64
+ run : npm run test:node:integration
65
65
66
66
web-integration-test :
67
67
if : github.secret_source == 'Actions'
@@ -75,15 +75,15 @@ jobs:
75
75
uses : actions/setup-node@v3
76
76
with :
77
77
node-version : ${{ matrix.node-version }}
78
- cache : ' yarn '
78
+ cache : ' npm '
79
79
80
- - name : yarn install
81
- run : yarn
80
+ - name : npm install
81
+ run : npm install
82
82
83
83
- name : run web iTests
84
84
env :
85
85
GEMINI_API_KEY : ${{ secrets.GEMINI_API_KEY }}
86
- run : yarn test:web:integration
86
+ run : npm run test:web:integration
87
87
88
88
interface-alignment-test :
89
89
name : Interface Alignment Test
94
94
uses : actions/setup-node@v3
95
95
with :
96
96
node-version : 20
97
- cache : ' yarn '
97
+ cache : ' npm '
98
98
99
99
- name : Get VertexAI repo
100
100
# Need to npm install inner repo first or there will be errors
@@ -103,7 +103,7 @@ jobs:
103
103
cd nodejs-vertexai
104
104
npm install
105
105
cd ..
106
- yarn
106
+ npm install
107
107
108
108
- name : Run tests
109
109
env :
0 commit comments