File tree Expand file tree Collapse file tree 2 files changed +25
-4
lines changed Expand file tree Collapse file tree 2 files changed +25
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to NPM
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*' # This will run the workflow when you push a tag with a version format, like v1.0.0
7+
8+ jobs :
9+ publish :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Clone repository
14+ uses : actions/checkout@v3
15+
16+ - name : Publish to NPM
17+ run : |
18+ echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
19+ if grep -qE "_authToken=.{1,}" .npmrc; then
20+ npm publish
21+ else
22+ echo "Failed to create .npmrc file" && exit 1
23+ fi
24+ env :
25+ NPM_TOKEN : ${{ secrets.NPM_AUTOMATION_TOKEN }}
Original file line number Diff line number Diff line change @@ -22,10 +22,6 @@ Get information about the current account subscription its usage.
2222
2323ScrapFly API key is used as a credential key. To get your API key, register for free.
2424
25- ## Compatibility
26-
27- _ State the minimum n8n version, as well as which versions you test against. You can also include any known version incompatibility issues._
28-
2925## Usage
3026
3127For example usage and predefined workflow tempaltes, refer to [ ScrapFly's n8n integration docs] ( https://scrapfly.io/docs/integration/n8n ) .
You can’t perform that action at this time.
0 commit comments