Skip to content

Commit 284d700

Browse files
Merge pull request #19 from rahulgithub-web/rahulgithub-web-patch-16
Update release.yml
2 parents 00645b0 + bcee208 commit 284d700

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99
pull_request:
1010
branches: [ "main" ]
1111

12+
env:
13+
API_KEY: API_KEY
14+
HF_TOKEN: HF_TOKEN
15+
PINECONE_API_KEY: PINECONE_API_KEY
16+
1217
jobs:
1318
build:
1419
runs-on: ubuntu-latest
@@ -27,17 +32,7 @@ jobs:
2732
cache: 'npm'
2833

2934
- run: npm ci
30-
3135
- 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-
36+
3737
- 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-
4338
- run: npm run lint

0 commit comments

Comments
 (0)