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 f47eff1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,11 @@ jobs:
uses: actions/download-artifact@v4
with:
name: pack
path: ./

- name: Place Pack
run: |
ls -R
mv ./artifacts/*.tgz ./
- 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 f47eff1

Please sign in to comment.