-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci(getting-started): run (but ignore) checks with npm
and npx
#8250
Conversation
We added a mention to check for issues with the |
f1c1b54
to
ccd9c6a
Compare
ccd9c6a
to
c0ff62e
Compare
Hi @michaelfig , could you spin off a minimally different copy of this PR with your |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving contingent on the simpler Lerna patch
.github/workflows/integration.yml
Outdated
@@ -29,7 +29,7 @@ jobs: | |||
runs-on: ubuntu-latest | |||
strategy: | |||
matrix: | |||
cli: [link-cli, local-npm] | |||
cli: [link-cli, local-npm, local-npm/npm, local-npm/npx] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cli: [link-cli, local-npm, local-npm/npm, local-npm/npx] | |
cli: [link-cli/yarn, registry/yarn, registry/npm, registry/npx] |
😄
@@ -63,7 +63,6 @@ | |||
"import-meta-resolve": "^2.2.1" | |||
}, | |||
"files": [ | |||
"bundles", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dckc and I have talked about publishing bundles but haven't though through it fully.
(@michaelfig mentioned that including it here adds 20MB, making it too big for repos that have a limit, like verdaccio at 10MB)
scripts/local-npm.sh
Outdated
test -z "${LOCAL_NPM_HOME-}" || export HOME="$LOCAL_NPM_HOME" | ||
test -z "${LOCAL_NPM_DISTTAG-}" || export DISTTAG="$LOCAL_NPM_DISTTAG" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not clear to me why not: HOME = HOME || LOCAL_NPM_HOME.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually want LOCAL_NPM_HOME && (HOME=LOCAL_NPM_HOME)
but I can't find a more concise way to write it.
@mhofman and I are working on getting the nightly scheduled test against master to green, and it will notify us when there is breakage. I'll send you subscription instructions out-of-band, if that's something you're interested in. |
c0ff62e
to
1ac702a
Compare
1ac702a
to
dd2873d
Compare
@Mergifyio requeue main |
@Mergifyio refresh |
✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically |
✅ Pull request refreshed |
@Mergifyio queue main |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 3ce0599 |
Description
Begin testing the getting started instructions using
npm install -g agoric
andnpx agoric ...
.This currently fails because of an incompatibility with
@endo/bundle-source@2.5.2
's dependency on a patched version of Rollup downloaded from https://github.com/endojs/endo, which causes a problem when NPM autoruns itsprepare
script.So, continue-on-error just because those combinations are currently failing.
@kriskowal the next (after 2023-08-23) Endo release will solve the problem when it is used in Agoric SDK.
Security Considerations
n/a
Scaling Considerations
n/a
Documentation Considerations
Allows updating our Getting Started instructions with new possibilities for obtaining the Agoric CLI:
git clone -b community-dev https://github.com/Agoric/agoric-sdk && cd agoric-sdk && yarn install && yarn build && yarn create-agoric-cli /usr/local/bin/agoric
yarn global add agoric@community-dev
npm install -g agoric@community-dev
alias agoric="npx agoric@community-dev"
Testing Considerations
Requires attention to the next Endo merge.
Upgrade Considerations
n/a