summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-02-06 02:47:19 +0300
committerValentin Popov <valentin@popov.link>2026-02-06 02:47:19 +0300
commitcb6ca38f7f5ffd8f4376a963cbc6c4232b826eff (patch)
tree99b596b98bdb60471bdeb77a972eef2011b430af
parent074bd549d5a38a5d4b0e260fc4c4f4468f6b0ec0 (diff)
downloadstrapi-plugin-checkbox-list-cb6ca38f7f5ffd8f4376a963cbc6c4232b826eff.tar.xz
strapi-plugin-checkbox-list-cb6ca38f7f5ffd8f4376a963cbc6c4232b826eff.zip
Update GitHub Actions workflow to publish with provenance
- Removed the registry URL from the setup-node action for cleaner configuration. - Modified the publish command to include the --provenance flag, enhancing the security and traceability of published packages.
-rw-r--r--.github/workflows/publish.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index a6d3fa4..aa0217d 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -67,7 +67,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 22
- registry-url: https://registry.npmjs.org/
cache: "npm"
cache-dependency-path: package-lock.json
- name: Check tag matches package version
@@ -85,4 +84,4 @@ jobs:
- name: Verify plugin
run: npm run verify
- name: Publish
- run: npm publish
+ run: npm publish --provenance