Skip to content

Commit c1f5bb1

Browse files
committed
Pass KLIPY_API_KEY secret to build steps in CI
1 parent 4510511 commit c1f5bb1

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
- name: install
3030
run: pnpm install --frozen-lockfile
3131
- run: pnpm test
32+
env:
33+
KLIPY_API_KEY: ${{ secrets.KLIPY_API_KEY }}
3234
- uses: fregante/daily-version-action@v2
3335
name: Create tag if necessary
3436
id: daily-version
@@ -59,6 +61,8 @@ jobs:
5961
cache: pnpm
6062
- run: pnpm install --frozen-lockfile
6163
- name: Build extension
64+
env:
65+
KLIPY_API_KEY: ${{ secrets.KLIPY_API_KEY }}
6266
run: |
6367
case ${{ matrix.command }} in
6468
chrome)

.github/workflows/test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,10 @@ jobs:
1313
uses: actions/setup-node@v3
1414
with:
1515
node-version-file: .nvmrc
16-
- run: yarn
17-
- run: yarn test
16+
- uses: pnpm/action-setup@v2
17+
with:
18+
version: 10.6.5
19+
- run: pnpm install --frozen-lockfile
20+
- run: pnpm test
21+
env:
22+
KLIPY_API_KEY: ${{ secrets.KLIPY_API_KEY }}

0 commit comments

Comments
 (0)