Skip to content

Commit

Permalink
fix: add sleep code into github action test
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Dec 14, 2023
1 parent ce45ec0 commit 56ccbea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/cli.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ jobs:
ENCRYPT_PASSWORD: "abc123"
APP_PORT: "3000"

- name: Sleep for 10 seconds
uses: jakejarvis/wait-action@master
with:
time: "10s"

- name: Run tests
run: yarn cli build && yarn cli test
env:
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"license": "MIT",
"scripts": {
"clean": "rm -rf dist",
"prebuild": "yarn --cwd='../..' vrf build",
"prebuild": "yarn --cwd='../' vrf build",
"build": "yarn clean && tsc",
"cli": "node --no-warnings --import=specifier-resolution-node/register --experimental-json-modules dist/index.js",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
Expand Down

0 comments on commit 56ccbea

Please sign in to comment.