File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
build :
14
-
15
14
runs-on : ubuntu-latest
16
15
17
16
strategy :
18
17
matrix :
19
18
node-version : [18.x, 20.x, 22.x]
20
- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21
19
22
20
steps :
23
21
- uses : actions/checkout@v4
22
+
24
23
- name : Use Node.js ${{ matrix.node-version }}
25
24
uses : actions/setup-node@v4
26
25
with :
27
26
node-version : ${{ matrix.node-version }}
28
27
cache : ' npm'
28
+
29
29
- run : npm ci
30
+
30
31
- run : npm run build --if-present
32
+ env :
33
+ API_KEY : ${{ secrets.API_KEY }}
34
+ HF_TOKEN : ${{ secrets.HF_TOKEN }}
35
+ PINECONE_API_KEY : ${{ secrets.PINECONE_API_KEY }}
36
+
31
37
- run : npm test
38
+ env :
39
+ API_KEY : ${{ secrets.API_KEY }}
40
+ HF_TOKEN : ${{ secrets.HF_TOKEN }}
41
+ PINECONE_API_KEY : ${{ secrets.PINECONE_API_KEY }}
42
+
32
43
- run : npm run lint
You can’t perform that action at this time.
0 commit comments