mirror of
https://github.com/waybarrios/opencode-power-pack.git
synced 2026-11-18 18:03:43 +00:00
Publish verified release artifacts without rerunning lifecycle scripts
Rely on the required release CI before uploading to GitHub Packages so the immutable version 0.5.0 tag can be mirrored without inheriting registry configuration inside package tests.
This commit is contained in:
@@ -46,6 +46,6 @@ jobs:
|
||||
}
|
||||
'
|
||||
- name: Publish release to GitHub Packages
|
||||
run: npm publish --registry=https://npm.pkg.github.com --access public
|
||||
run: npm publish --ignore-scripts --registry=https://npm.pkg.github.com --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@@ -21,7 +21,7 @@ test("GitHub Packages workflow publishes an exact release tag with least privile
|
||||
assert.match(WORKFLOW, /scope: "@waybarrios"/);
|
||||
assert.match(
|
||||
WORKFLOW,
|
||||
/npm publish --registry=https:\/\/npm\.pkg\.github\.com --access public/,
|
||||
/npm publish --ignore-scripts --registry=https:\/\/npm\.pkg\.github\.com --access public/,
|
||||
);
|
||||
assert.match(WORKFLOW, /NODE_AUTH_TOKEN: \$\{\{ secrets\.GITHUB_TOKEN \}\}/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user