File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build and Publish
1+ name : Build & Publish (tags)
22
33on :
44 push :
55 tags :
6- - ' v*.*.*' # Matches semantic versioning tags like v1.0.0
6+ - ' v*.*.*'
77
88jobs :
99 build-and-publish :
1010 runs-on : ubuntu-latest
11-
11+ permissions :
12+ contents : write
13+ packages : write
14+
1215 steps :
13- - name : Checkout repository
16+ - name : Checkout
1417 uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
1520
1621 - name : Setup Node.js
1722 uses : actions/setup-node@v4
1823 with :
1924 node-version : ' 18'
2025 registry-url : ' https://registry.npmjs.org'
2126
22- - uses : pnpm/action-setup@v4
23- name : Install pnpm
24- with :
25- run_install : true
26-
2727 - name : Install dependencies
28- run : pnpm install
28+ run : npm ci
2929
3030 - name : Build
31- run : pnpm build
31+ run : npm run build
32+
33+ - name : Run lint (optional)
34+ run : npm run lint --if-present || echo "Lint failed but continuing"
3235
3336 - name : Publish to npm
34- run : pnpm publish --no-git-checks --access public
37+ run : npm publish --access public
3538 env :
3639 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " @traien/n8n-nodes-espocrm" ,
3- "version" : " 1.0.2 " ,
3+ "version" : " 1.0.3 " ,
44 "description" : " n8n integration with EspoCRM" ,
55 "keywords" : [
66 " n8n-community-node-package" ,
2727 "format" : " prettier nodes credentials --write" ,
2828 "lint" : " eslint nodes credentials package.json" ,
2929 "lintfix" : " eslint nodes credentials package.json --fix" ,
30- "prepublishOnly" : " pnpm run build && pnpm run lint" ,
31- "test " : " echo 'No tests specified' " ,
32- "prepare " : " pnpm build "
30+ "prepublishOnly" : " npm run build && npm run lint -c .eslintrc.prepublish.js nodes credentials package.json " ,
31+ "prepare " : " npm run build " ,
32+ "test " : " echo \" No tests specified \" "
3333 },
3434 "files" : [
3535 " dist"
5151 "eslint-plugin-n8n-nodes-base" : " ^1.16.1" ,
5252 "gulp" : " ^4.0.2" ,
5353 "prettier" : " ^3.3.2" ,
54- "typescript" : " ^5.5.3"
54+ "typescript" : " ^5.5.3" ,
55+ "n8n-workflow" : " *"
5556 },
5657 "peerDependencies" : {
57- "n8n-workflow" : " ^1.48.0"
58- },
59- "packageManager" : " pnpm@9.5.0+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903"
58+ "n8n-workflow" : " *"
59+ }
6060}
You can’t perform that action at this time.
0 commit comments