Enable trusted publisher
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@@ -132,8 +132,6 @@ jobs:
|
|||||||
node-version-file: ".nvmrc"
|
node-version-file: ".nvmrc"
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
registry-url: "https://registry.npmjs.org"
|
registry-url: "https://registry.npmjs.org"
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm --workspace @probo/n8n-nodes-probo run build
|
- run: npm --workspace @probo/n8n-nodes-probo run build
|
||||||
@@ -162,8 +160,6 @@ jobs:
|
|||||||
|
|
||||||
- run: npm --workspace @probo/n8n-nodes-probo publish --access public --dry-run
|
- run: npm --workspace @probo/n8n-nodes-probo publish --access public --dry-run
|
||||||
- run: npm --workspace @probo/n8n-nodes-probo publish --access public
|
- run: npm --workspace @probo/n8n-nodes-probo publish --access public
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
|
|
||||||
- uses: actions/attest-sbom@v1
|
- uses: actions/attest-sbom@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
"dev": "n8n-node dev",
|
"dev": "n8n-node dev",
|
||||||
"lint": "n8n-node lint",
|
"lint": "n8n-node lint",
|
||||||
"lint:fix": "n8n-node lint --fix",
|
"lint:fix": "n8n-node lint --fix",
|
||||||
"release": "n8n-node release",
|
"release": "npm run build && npm run lint && npm publish --access public",
|
||||||
"prepublishOnly": "npm run build && npm run lint"
|
"prepublishOnly": "npm run build && npm run lint"
|
||||||
},
|
},
|
||||||
"author": {
|
"author": {
|
||||||
|
|||||||
Reference in New Issue
Block a user