chore(ci): stop naming internal infrastructure in files that go public
`main` is about to be mirrored to a public repository for the first time, so everything in the tree becomes readable by anyone. Two things in here were written when only the development forge could see them. `ci.yml` carried the internal registry's hostname in a step that authenticated to it — twice. That step is also dead: `.npmrc` no longer points the @green-tea scope anywhere, and core resolves from npmjs.org. So this removes a published hostname and an instruction that does nothing, in the same edit. `AGENTS.md` named the origin by its repository path. Core's public copy says "Development lives on a private Gitea instance" and stops there, which is the right level: a reader learns the shape of the workflow without learning where it lives, and a path they cannot reach tells them nothing anyway. `promote.yml` keeps saying the forge by name, because core's public copy does and the two should read alike. Naming the product is not the problem; naming the host was. Checked the rest while here: no credentials, no keys, no personal paths or addresses, no issue templates routing anyone to a forge they cannot open. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
2 files changed
+16
-21
No files matched your search
@@ -1,8 +1,9 @@
|
||||
name: CI
|
||||
|
||||
# Gitea only, for now. Every package builds against @green-tea/core@26.9.0-beta.2, which exists on
|
||||
# Verdaccio alone, and a GitHub runner cannot reach Verdaccio. Plan B3 moves the packages to a core on
|
||||
# npm, removes these guards and adds the GitHub mirror; until then GitHub has no copy to run against.
|
||||
# Runs on the development forge only, through the `if:` guards below. The reason they were added is
|
||||
# gone — the packages used to build against a core that existed on an internal registry, and now
|
||||
# resolve it from npmjs.org like anyone else — so lifting them is unblocked. Until that happens, the
|
||||
# public mirror carries this file with every job skipped.
|
||||
on:
|
||||
push:
|
||||
branches: [develop, main]
|
||||
@@ -45,10 +46,6 @@ jobs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
- name: Authenticate to Verdaccio
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH }}
|
||||
run: npm config set //npm.svc.zoit.services/:_authToken "$NODE_AUTH_TOKEN"
|
||||
- run: npm ci
|
||||
- run: npm run lint
|
||||
- run: npm run format:check
|
||||
@@ -73,10 +70,6 @@ jobs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
- name: Authenticate to Verdaccio
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH }}
|
||||
run: npm config set //npm.svc.zoit.services/:_authToken "$NODE_AUTH_TOKEN"
|
||||
- run: npm ci
|
||||
- if: matrix.runtime == 'deno'
|
||||
uses: denoland/setup-deno@v2
|
||||
|
||||
Reference in new issue
Block a user