Skip to content

Commit

Permalink
ci: place the pack in the smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Oct 26, 2024
1 parent f1bbbb5 commit bb0d9fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ jobs:
pattern: build-*
delete-merged: true

- run: |
ls -R
- uses: actions/checkout@v4

- name: Place build
Expand Down Expand Up @@ -249,7 +246,6 @@ jobs:
uses: actions/download-artifact@v4
with:
name: pack
path: ./

- name: Install Node
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion script/smoke-test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ init_smoke_test() {
mkdir "./smoke-test-${pm}"
cd "./smoke-test-${pm}"
npm init -q --init-module "smoke-test-${pm}" -y
npm pkg set dependencies.zeromq="file:../${pack_name}"
npm pkg set dependencies.zeromq="file:../${pack_name}" || (jq '.dependencies.zeromq = "file:../${pack_name}"' package.json >temp.json && mv temp.json package.json)
}

package_managers=(npm pnpm yarn)
Expand Down

0 comments on commit bb0d9fb

Please sign in to comment.