Iván Ovejero
d47ff48fb6
perf(ci): Sort CI steps by length ( #4243 )
...
* ⚡ Sort CI steps by length
* 🐛 `Build` before `test` for n8n packages
2022-10-10 17:46:50 +02:00
कारतोफ्फेलस्क्रिप्ट™
87e6877f1d
ci: adapt workflow tests to work with updated github actions ( #4176 )
...
ci: update workflow test action to work with updated github actions
2022-09-23 09:58:10 +02:00
कारतोफ्फेलस्क्रिप्ट™
2970cbe401
ci: update all github actions ( #4153 )
...
* ci: update all github actions
setup npm cache on all workflows
* run full linting on master
2022-09-21 10:50:15 +02:00
Iván Ovejero
a2441b8e3f
refactor(ci): Lint PR diffs only ( #4137 )
...
* ✨ Set up `eslint-plugin-diff`
* 🔧 Fix setup
* ⬆️ Upgrade `checkout` and `setup-node`
* 🔧 Fix YAML
* 🧪 Verify `eslint-plugin-diff` behavior
* Revert "🧪 Verify `eslint-plugin-diff` behavior"
This reverts commit 1fcc6c8299
.
* ✏️ Fix comment
2022-09-21 10:24:39 +02:00
Iván Ovejero
1bdc102892
perf(ci): Cache npm dependencies ( #4138 )
...
⚡ Cache npm dependencies
2022-09-20 20:59:49 +02:00
कारतोफ्फेलस्क्रिप्ट™
651d788ddb
fix: revert CI checks to ensure that the package-lock.json file is up to date ( #4135 )
...
* Revert "ci: fail the build if `package-lock.json` is out of sync (#4101 )"
This reverts commit b2807cecb3
.
* Update package-lock.json
2022-09-19 11:07:28 +02:00
कारतोफ्फेलस्क्रिप्ट™
b2807cecb3
ci: fail the build if package-lock.json
is out of sync ( #4101 )
2022-09-14 15:29:00 +02:00
कारतोफ्फेलस्क्रिप्ट™
fd9b5f6b2b
ci: PR title/description change should not re-trigger the build-lint-test workflow ( #4100 )
2022-09-14 10:50:42 +02:00
Karl Hopkinson-Turrell
712924cbc3
ci: trigger linting on PR title change ( #4065 )
2022-09-09 14:29:10 +01:00
Karl Hopkinson-Turrell
fff0ce62d3
ci: check commit message format ( #4010 )
...
* ci: check commit message format
* ci: switch to PR title checking
* ci: target pull request checks to master
2022-09-06 10:26:33 +01:00
कारतोफ्फेलस्क्रिप्ट™
398adb23e8
feat(docker): reduce the size of alpine docker images ( #3973 )
...
* reduce redundant code between the two alpine Dockerfiles
* reduce the docker image build times
* reduce the `n8n` image size from 1.17GB to 462MB
* reduce the `n8n-custom` image size from 671MB to 460MB
* reduce the size of npm tree by making all typing packages devDependencies
Partially resolves this ticket: N8N-3252
2022-08-31 15:25:52 +02:00
कारतोफ्फेलस्क्रिप्ट™
1f9bdd09a2
fix(ci): Setup a separate workflow action to test for pushes on master ( #3951 )
2022-08-26 10:27:04 +02:00
कारतोफ्फेलस्क्रिप्ट™
4f875ffcea
fix(ci): Run test/lint workflow on all pull requests ( #3939 )
2022-08-25 10:39:52 +02:00
Iván Ovejero
11617616cd
refactor: Format root-level files ( #3858 )
...
* ✨ Create `format.mjs` script
* 👕 Add lint exception
* ⚡ Add root formatting to `format` command
* 🎨 Fix glob in `.prettierignore`
* 🚚 Improve naming
* 🎨 Format root-level files
* ⚡ Simplify check
* ⚡ Add period to extension
* ⚡ Locate config
* ⚡ Add `ignore` arg
* 🚚 Move `config` and `ignore` after check
2022-08-19 15:34:02 +02:00
Alex Grozav
a9fa830bd7
build: Migrate from lerna to turborepo ( #3796 )
...
* feat: Added turborepo setup.
* feat: Updated nodes and credentials loading.
* feat: Removed remaining lerna references.
* fix: Updated npm run bootstrap command.
* feat: Added CI step for installing latest npm.
* chore: Removed lerna config.
* feat: Added gulp to global ci packages.
* fix: Set node as moduleResolution target in workflow. Fixed CI.
* fix: Added turborepo installation to the n8n-custom docker image.
* fix: Updated copied docker files for n8n-custom.
* fix: Added git as dependency in n8n-custom dockerfile.
* fix: Changed npm install command in n8n-custom.
* 📦 Update `package-lock.json`
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-08-06 22:55:51 +02:00
Ahsan Virani
0af3ccf35f
ci: Fix Vue build issues ( #3650 )
...
* lock vue versions to patch. Not use docker cache in nightly builds
* revert to using npm install
2022-07-04 13:56:52 +02:00
Alex Grozav
6b9289349f
ci: Using npm ci instead of npm install to reuse package-lock.json ( #3648 )
2022-07-04 10:59:03 +02:00
Iván Ovejero
23f0501f4c
🧪 Add Node 14 tests to CI ( #2779 )
...
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
2022-04-08 18:39:01 +02:00
Omar Ajoue
5658593df4
feat: Add support for reading ids from file with executeBatch command ( #3008 )
2022-03-19 08:54:55 +01:00
Jan Oberhauser
c6bccca456
👷 Run tests with Node.js v16 and shorten max runtime
2022-03-16 10:32:49 +01:00
Jan Oberhauser
c11edb2521
🐳 Fix arm builds
2022-03-08 09:38:53 +01:00
Jan Oberhauser
7868bf2484
🐳 Temporarily remove "linux/arm64" build
2022-03-07 11:39:30 +01:00
Jan Oberhauser
66d7b17624
🐳 Temporarily remove "linux/arm/v7" build
2022-03-07 11:27:02 +01:00
Jan Oberhauser
eb50950bb7
🐳 Fix success-url
2022-02-25 19:58:35 +01:00
Jan Oberhauser
3dab1b0302
🐳 Add support for optional success-url
2022-02-25 19:39:35 +01:00
Jan Oberhauser
ba8ccfa3b1
🐳 Fix parameter name
2022-02-12 12:37:53 +01:00
Jan Oberhauser
d265d8b74f
🐳 Try again to fix merge
2022-02-10 14:41:59 +01:00
Jan Oberhauser
a604f75ab1
🐳 Another automerge fix
2022-02-10 14:38:04 +01:00
Jan Oberhauser
44381b2fbc
🐳 Fix automerge
2022-02-10 14:35:07 +01:00
Jan Oberhauser
6ea22f8451
🐳 Extend to allow automatic master merge
2022-02-10 14:14:55 +01:00
Jan Oberhauser
b4fb5947dc
🐳 Extend nightly build action to also allow to build from other
...
repository
2022-02-09 14:23:07 +01:00
Omar Ajoue
fbaac6cd5e
🚨 Stabilize test workflows ( #2480 )
...
* Attempt to fix test workflows execution
* Remove apt update
* trying to fix timezone
* Trying to fix build issues
* Reduced concurrency level
* Improve error message and further decrease concurrency level
* Further reduce concurrency level
* Removed concurrency
* Removing update credentials as it's not working currently
* Also removing export
* Fixed versions for typeorm and sqlite
* Re add concurrency
* Adjustig sqlite3 and typeorm versions
* Fixing only sqlite version
* Fixing only typeorm version
* Reverting unnecessary changes
2021-11-27 10:54:18 +01:00
Iván Ovejero
56c4c6991f
🎨 Set up linting and formatting ( #2120 )
...
* ⬆️ Upgrade TS to 4.3.5
* 👕 Add ESLint configs
* 🎨 Add Prettier config
* 📦 Add deps and commands
* ⚡ Adjust global .editorconfig to new ruleset
* 🔥 Remove unneeded local .editorconfig
* 📦 Update deps in editor-ui
* 🔨 Limit Prettier to only TS files
* ⚡ Add recommended VSCode extensions
* 👕 Fix build
* 🔥 Remove Vue setting from global config
* ⚡ Disable prefer-default-export per feedback
* ✏️ Add forgotten divider
* 👕 Disable no-plusplus
* 👕 Disable class-methods-use-this
* ✏️ Alphabetize overrides
* 👕 Add one-var consecutive override
* ⏪ Revert one-var consecutive override
This reverts commit b9252cf935
.
* 🎨 👕 Lint and format workflow package (#2121 )
* 🎨 Format /workflow package
* 👕 Lint /workflow package
* 🎨 Re-format /workflow package
* 👕 Re-lint /workflow package
* ✏️ Fix typo
* ⚡ Consolidate if-checks
* 🔥 Remove prefer-default-export exceptions
* 🔥 Remove no-plusplus exceptions
* 🔥 Remove class-methods-use-this exceptions
* 🎨 👕 Lint and format node-dev package (#2122 )
* 🎨 Format /node-dev package
* ⚡ Exclude templates from ESLint config
This keeps the templates consistent with the codebase while preventing lint exceptions from being made part of the templates.
* 👕 Lint /node-dev package
* 🔥 Remove prefer-default-export exceptions
* 🔥 Remove no-plusplus exceptions
* 🎨 👕 Lint and format core package (#2123 )
* 🎨 Format /core package
* 👕 Lint /core package
* 🎨 Re-format /core package
* 👕 Re-lint /core package
* 🔥 Remove prefer-default-export exceptions
* 🔥 Remove no-plusplus exceptions
* 🔥 Remove class-methods-use-this exceptions
* 🎨 👕 Lint and format cli package (#2124 )
* 🎨 Format /cli package
* 👕 Exclude migrations from linting
* 👕 Lint /cli package
* 🎨 Re-format /cli package
* 👕 Re-lint /cli package
* 👕 Fix build
* 🔥 Remove prefer-default-export exceptions
* ⚡ Update exceptions in ActiveExecutions
* 🔥 Remove no-plusplus exceptions
* 🔥 Remove class-methods-use-this exceptions
* 👕 fix lint issues
* 🔧 use package specific linter, remove tslint command
* 🔨 resolve build issue, sync dependencies
* 🔧 change lint command
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
2021-08-29 20:58:11 +02:00
Omar Ajoue
d6239d5bfb
⚡ Add full continue-on-fail support to all nodes ( #1996 )
...
* Update Compression node
* Update Crypto node
* Update DateTime node
* Update EditImage node
* Update EmailSend node
* Update ExecuteWorkflow node
* Update FTP node
* Update Function node
* Update FunctionItem node
* Update ExecuteCommand node
* Update OpenWeatherMap node
* Update ReadBinaryFile node
* Update ReadPdf node
* Update RssFeedRead node & add URL validation
* Update SpreadsheetFile node
* Update Switch node
* Update WriteBinaryFile node
* Update Xml node
* Update ActiveCampaign node
* Update Airtable node
* Update ApiTemplateIo node
* Update Asana node
* Update AwsLambda node
* Update AwsSns node
* Update AwsComprehend node
* Update AwsRekognition node
* Update AwsS3 node
* Fix Error item
* Update AwsSes node
* Update AwsSqs node
* Update Amqp node
* Update Bitly node
* Update Box node
* Update Brandfetch node
* Update CircleCi node
* Update Clearbit node
* Update ClickUp node
* Update Cockpit node
* Update CoinGecko node
* Update Contentful node
* Update ConvertKit node
* Update Cortex node
* Update CustomerIo node
* Update DeepL node
* Update Demio node
* Update Disqus node
* Update Drift node
* Update Dropbox node
* Update GetResponse node
* Refactor & Update Ghost node
* Update Github node
* Update Gitlab node
* Update GoogleAnalytics node
* Update GoogleBooks node
* Update GoogleCalendar node
* Update GoogleDrive node
* Update Gmail node
* Update GoogleSheets node
* Update GoogleSlides node
* Update GoogleTasks node
* Update Gotify node
* Update GraphQL node
* Update HackerNews node
* Update Harvest node
* Update HtmlExtract node
* Update Hubspot node
* Update Hunter node
* Update Intercom node
* Update Kafka node
* Refactor & update Line node
* Update LinkedIn node
* Update Mailchimp node
* Update Mandrill node
* Update Matrix node
* Update Mautic node
* Update Medium node
* Update MessageBird node
* Update Mindee node
* Update Mocean node
* Update MondayCom node
* Update MicrosoftExcel node
* Update MicrosoftOneDrive node
* Update MicrosoftOutlook node
* Update Affinity node
* Update Chargebee node
* Update Discourse node
* Update Freshdesk node
* Update YouTube node
* Update InvoiceNinja node
* Update MailerLite node
* Update Mailgun node
* Update Mailjet node
* Update Mattermost node
* Update Nasa node
* Update NextCloud node
* Update OpenThesaurus node
* Update Orbit node
* Update PagerDuty node
* Update PayPal node
* Update Peekalink node
* Update Phantombuster node
* Update PostHog node
* Update ProfitWell node
* Refactor & Update Pushbullet node
* Update QuickBooks node
* Update Raindrop node
* Update Reddit node
* Update Rocketchat node
* Update S3 node
* Update Salesforce node
* Update SendGrid node
* Update SentryIo node
* Update Shopify node
* Update Signl4 node
* Update Slack node
* Update Spontit node
* Update Spotify node
* Update Storyblok node
* Refactor & Update Strapi node
* Refactor & Update Strava node
* Update Taiga node
* Refactor & update Tapfiliate node
* Update Telegram node
* Update TheHive node
* Update Todoist node
* Update TravisCi node
* Update Trello node
* Update Twilio node
* Update Twist node
* Update Twitter node
* Update Uplead node
* Update UProc node
* Update Vero node
* Update Webflow node
* Update Wekan node
* Update Wordpress node
* Update Xero node
* Update Yourls node
* Update Zendesk node
* Update ZohoCrm node
* Refactor & Update Zoom node
* Update Zulip node
* Update Clockify node
* Update MongoDb node
* Update MySql node
* Update MicrosoftTeams node
* Update Stackby node
* Refactor Discourse node
* Support corner-case in Github node update
* Support corner-case in Gitlab node update
* Refactor & Update GoogleContacts node
* Refactor Mindee node
* Update Coda node
* Lint fixes
* Update Beeminder node
* Update Google Firebase RealtimeDatabase node
* Update HelpScout node
* Update Mailcheck node
* Update Paddle node
* Update Pipedrive node
* Update Pushover node
* Update Segment node
* Refactor & Update Vonage node
* Added new conditions to warnings on execute batch cmd
* Added keep only properties flag
* Fixed code for keep only props
* Added dependencies for image editing
Co-authored-by: dali <servfrdali@yahoo.fr>
2021-07-20 08:58:54 +02:00
Jan Oberhauser
bac13ba821
👷 Try to fix push to test-workflows
2021-07-03 15:05:54 +02:00
Jan Oberhauser
ac89234329
👷 Push credentials also if the tests fail
2021-07-03 14:47:31 +02:00
Jan Oberhauser
5ad4bf0890
👷 Automatically push changed credentials after test
2021-07-01 10:17:02 +02:00
Omar Ajoue
1e551a202f
🚨 Add Workflow testing framework ( #1814 )
...
* Added flag to simplify output to execute command and created executeAll
Also created a command that lists workflows so it can be used by
other applications that wish to interact with n8n via CLI.
* Added compare funcionality that helps us identify possible breaking changes
* ⚡ Add JSON flag to output execution result in json format
* Add execution time to execution result
* Add --output flag to save JSON formated results
* Fix typos
* Adding usage examples and warning message
* Changing command to always output JSON information
* ⚡ Add concurrency to executeAll command
* ✨ Add IDs filter to executeAll command
* ✏️ Fix typos
* Fix lint issues
* Improvements to execute all
* Added colors and beautified execute all command output
* Improving premature termination of execute all command
* Refactored output
* Added detection for warnings instead of errors for a few cases
* Fixed linting
* Improved process finishing
* Added encryption key init, removed messages from non-debug run and created sample github actions file
* Updated test command to use correct encryption key
* Correcting paths
* Changed command name and changed concurrency to be slot based
* Added the retry functionality
* Improved typing and fixed executions filtering
* Updated test description
* Added concurrency
* Added skip list and concurrency
* Fixed termination behavior, removed unnecessary code and added main mode to executions
* Added special edge cases handling
* Added safe debug flag for non tty terminals
* Removed comparison and retries for testing
* Changed the way we run commands to add more debug info
* Test adding concurrency
* Testing with regular testing procedure without comparison
* Adding compare flag
* Fixing short output command
* Upgraded concurrency to 16, fixed short output and covered nodes count
* Fixed short output condition
* Correcting short output information
* Correcting the output for short output
* Added a string to possible warnings list
* Added example usages with more arguments
* Improvements to code made by Ivan
* Removed colorize output setting (always use colors), moved execution timeout to become static and removed node list from executions
* Moving types to a separate file on execute batch command
* Changed interfaces file extension to prevent oclif warnings
* Updated workflow pdf files
* ⚡ Change rule when tests run + minor formatting fixes
Co-authored-by: dali <servfrdali@yahoo.fr>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-01 09:04:24 +02:00
Jan Oberhauser
7ed616c7ef
🔀 Merge branch 'images' of https://github.com/caarlos0/n8n into caarlos0-images
2021-06-17 14:36:02 +02:00
Iván Ovejero
0de62eae30
🔥 Remove Node 12 CI tests ( #1748 )
2021-05-06 12:33:24 -05:00
Carlos Alexandro Becker
061e990d87
fix: workflow
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-05 10:22:04 -03:00
Carlos Alexandro Becker
4d3ff091aa
feat: docker images
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-04-05 09:21:58 -03:00
Jan Oberhauser
be83c240ba
🐳 Allow manual rpi docker image build
2021-03-25 15:16:38 +01:00
Jan Oberhauser
8d9555bf52
👷 No longer run tests in Node.js v10
2021-03-12 11:50:26 +01:00
Jan Oberhauser
24f4d6e277
🐳 Create and push docker image "latest-debian"
2021-02-12 00:28:59 +01:00
Jan Oberhauser
b68377b74f
🐳 Run nightly build one hour earlier
2020-12-31 12:17:46 +01:00
Jan Oberhauser
ad2909a8a6
🐳 Fix automatic nightly build
2020-12-31 12:17:00 +01:00
Jan Oberhauser
b0e17453f4
🐳 Add support to choose branch and tag for custom build
2020-12-29 20:27:48 +01:00
Jan Oberhauser
8136474233
🐳 Add automatic nightly docker build of master
2020-12-29 15:00:57 +01:00
mjysci
ba07ec61f3
🐳 Fixed Docker Image CI - Rpi ( #1275 )
2020-12-27 23:13:44 +01:00