Skip to content

Commit

Permalink
fix: move env up
Browse files Browse the repository at this point in the history
  • Loading branch information
badurinantun committed Jun 14, 2022
1 parent 665ab0b commit 405aca2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
matrix:
node-version:
- 14.x
env:
TEST_ACCOUNT_PRIVATE_KEY: ${{ secrets.TEST_ACCOUNT_PRIVATE_KEY }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -21,5 +23,3 @@ jobs:
- run: npm ci
- run: npm run build --if-present
- run: npm test
env:
TEST_ACCOUNT_PRIVATE_KEY: ${{ secrets.TEST_ACCOUNT_PRIVATE_KEY }}
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
jobs:
build-and-test:
runs-on: ubuntu-latest
env:
TEST_ACCOUNT_PRIVATE_KEY: ${{ secrets.TEST_ACCOUNT_PRIVATE_KEY }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
Expand All @@ -16,8 +18,7 @@ jobs:
- run: npm ci
- run: npm run build --if-present
- run: npm test
env:
TEST_ACCOUNT_PRIVATE_KEY: ${{ secrets.TEST_ACCOUNT_PRIVATE_KEY }}

- uses: actions/upload-artifact@v2
with:
name: build
Expand Down

0 comments on commit 405aca2

Please sign in to comment.