Skip to content

Commit

Permalink
add env var
Browse files Browse the repository at this point in the history
  • Loading branch information
weboko committed Aug 30, 2023
1 parent 553c0ad commit a9ec184
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:

env:
NODE_JS: "18"
RETRY_ATTEMPTS: 3

jobs:
check:
Expand Down Expand Up @@ -77,7 +78,7 @@ jobs:

- uses: Wandalen/wretry.action@master
with:
attempt_limit: 3
attempt_limit: ${{ env.RETRY_ATTEMPTS }}
command: npm run test:optional --workspace=@waku/tests
with: |
DEBUG: ""
Expand Down Expand Up @@ -114,7 +115,7 @@ jobs:

- uses: Wandalen/wretry.action@master
with:
attempt_limit: 3
attempt_limit: ${{ env.RETRY_ATTEMPTS }}
command: npm run test:optional --workspace=@waku/tests
with: |
DEBUG: ""
Expand All @@ -139,7 +140,7 @@ jobs:

- uses: Wandalen/wretry.action@master
with:
attempt_limit: 3
attempt_limit: ${{ env.RETRY_ATTEMPTS }}
command: npm run test:node
with: |
DEBUG: "waku:nwaku*,waku:test*"
Expand Down Expand Up @@ -169,14 +170,14 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_JS }}

- uses: ./.github/actions/npm

- run: npm run build:esm

- uses: Wandalen/wretry.action@master
with:
attempt_limit: 3
attempt_limit: ${{ env.RETRY_ATTEMPTS }}
command: npm run test:node
with: |
DEBUG: "waku:nwaku*,waku:test*"
Expand Down

0 comments on commit a9ec184

Please sign in to comment.