feat(templates): scaffold against core 26.11.0-rc.1; edge installs core from npm
CI / installer (macos-14) (pull_request) Successful in 4s
CI / check (pull_request) Successful in 36s
CI / starter (bun) (pull_request) Successful in 45s
CI / starter (deno) (pull_request) Failing after 32s
CI / starter (edge) (pull_request) Successful in 52s
CI / core-freshness (pull_request) Has been skipped
CI / starter (node) (pull_request) Successful in 35s
CI / installer (ubuntu-latest) (pull_request) Successful in 12s
CI / installer (macos-14) (pull_request) Successful in 4s
CI / check (pull_request) Successful in 36s
CI / starter (bun) (pull_request) Successful in 45s
CI / starter (deno) (pull_request) Failing after 32s
CI / starter (edge) (pull_request) Successful in 52s
CI / core-freshness (pull_request) Has been skipped
CI / starter (node) (pull_request) Successful in 35s
CI / installer (ubuntu-latest) (pull_request) Successful in 12s
core#93 is fixed in RC.1: the npm ESM build's createRequire banner no longer throws on workerd, so the edge starter drops its .npmrc and the npm:@jsr alias and installs @green-tea/core from npm like every other runtime. doctor still reads the alias, so edge projects scaffolded before this keep working. The weekly core-freshness job compares against core's latest dist-tag: release candidates and the stable release publish there, and beta stays on 26.9.0-beta.2. Starter smoke passes locally on node, deno, bun and edge. Deno needs --minimum-dependency-age=0 until RC.1 is a day old. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
7 files changed
+10
-23
No files matched your search
@@ -65,13 +65,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Compare the scaffold pin against the beta dist-tag
|
||||
- name: Compare the scaffold pin against the latest dist-tag
|
||||
run: |
|
||||
pinned=$(grep -oP 'CORE_VERSION: &str = "\K[^"]+' src/template.rs)
|
||||
latest=$(npm view @green-tea/core dist-tags.beta)
|
||||
latest=$(npm view @green-tea/core dist-tags.latest)
|
||||
echo "pinned=$pinned latest=$latest"
|
||||
if [ "$pinned" != "$latest" ]; then
|
||||
echo "::error::matcha scaffolds @green-tea/core@$pinned but the beta tag is $latest."
|
||||
echo "::error::matcha scaffolds @green-tea/core@$pinned but the latest tag is $latest."
|
||||
echo "Bump CORE_VERSION in src/template.rs and let the starter job prove it still boots."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user