Skip to content

Commit a7a616b

Browse files
Merge pull request #18 from rahulgithub-web/rahulgithub-web-patch-15
Update release.yml
2 parents 3419757 + 7af6a91 commit a7a616b

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,33 @@ on:
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
1615

1716
strategy:
1817
matrix:
1918
node-version: [18.x, 20.x, 22.x]
20-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2119

2220
steps:
2321
- uses: actions/checkout@v4
22+
2423
- name: Use Node.js ${{ matrix.node-version }}
2524
uses: actions/setup-node@v4
2625
with:
2726
node-version: ${{ matrix.node-version }}
2827
cache: 'npm'
28+
2929
- run: npm ci
30+
3031
- 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+
3137
- 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+
3243
- run: npm run lint

0 commit comments

Comments
 (0)