Commit graph

43 commits

Author SHA1 Message Date
कारतोफ्फेलस्क्रिप्ट™ 5d546858d1
ci: Pin node.js 22 to 22.4 (no-changelog) (#10116) 2024-07-19 15:36:48 +02:00
कारतोफ्फेलस्क्रिप्ट™ b910ed6847
ci: Use turbo for build cache (no-changelog) (#9696) 2024-07-05 17:43:52 +02:00
कारतोफ्फेलस्क्रिप्ट™ 962f0d7134
ci: Update codecov setup (no-changelog) (#9852) 2024-07-03 10:37:04 +02:00
कारतोफ्फेलस्क्रिप्ट™ ab29ba9b58
ci: Refactor linting workflow (no-changelog) (#9714) 2024-06-13 13:10:51 +02:00
कारतोफ्फेलस्क्रिप्ट™ 6ea8607716
ci: Switch to Node.js 20 by default. Add initial support for Node.js 22 (#9501) 2024-05-24 12:32:50 +02:00
कारतोफ्फेलस्क्रिप्ट™ d4607381ed
ci: Replace pnpm/action-setup action with corepack (no-changelog) (#8504) 2024-02-02 09:47:58 +01:00
कारतोफ्फेलस्क्रिप्ट™ e5514793f6
ci: Update GH actions (no-changelog) (#8453) 2024-01-26 11:26:30 +01:00
Iván Ovejero 50e416d9ae
ci: Remove master from autocancelling redundant CI jobs (no-changelog) (#7929)
## Summary

Autocancelling redundant CI jobs for `master` makes it harder to track
health of `master`, in exchange for minor savings.

Context:
https://n8nio.slack.com/archives/C03MZF137FV/p1701771923477659?thread_ts=1699522038.290849&cid=C03MZF137FV

...

#### How to test the change:
1. ...


## Issues fixed
Include links to Github issue or Community forum post or **Linear
ticket**:
> Important in order to close automatically and provide context to
reviewers

...


## Review / Merge checklist
- [ ] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
- [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up
ticket created.
- [ ] Tests included.
> A bug is not considered fixed, unless a test is added to prevent it
from happening again. A feature is not complete without tests.
  >
> *(internal)* You can use Slack commands to trigger [e2e
tests](https://www.notion.so/n8n/How-to-use-Test-Instances-d65f49dfc51f441ea44367fb6f67eb0a?pvs=4#a39f9e5ba64a48b58a71d81c837e8227)
or [deploy test
instance](https://www.notion.so/n8n/How-to-use-Test-Instances-d65f49dfc51f441ea44367fb6f67eb0a?pvs=4#f6a177d32bde4b57ae2da0b8e454bfce)
or [deploy early access version on
Cloud](https://www.notion.so/n8n/Cloudbot-3dbe779836004972b7057bc989526998?pvs=4#fef2d36ab02247e1a0f65a74f6fb534e).
2023-12-05 12:15:49 +01:00
कारतोफ्फेलस्क्रिप्ट™ 2f8cb419df
ci: Fix editor tests when coverage is enabled (no-changelog) (#7827)
[Test run
](https://github.com/n8n-io/n8n/actions/runs/7021272455/job/19103012704)
2023-11-28 18:04:30 +01:00
Iván Ovejero 3dfabc37d8
ci: Rename build alerts channel (no-changelog) (#7695)
Please do not merge until renamed in Slack.
2023-11-13 13:35:21 +01:00
कारतोफ्फेलस्क्रिप्ट™ 32ddb4d04b
ci: Auto-cancel redundant CI jobs (no-changelog) (#7656)
This should help us reduce the load on CI workers to some extend.
2023-11-10 15:26:42 +01:00
कारतोफ्फेलस्क्रिप्ट™ 2f665683fc
ci: Improve CI performance (no-changelog) (#7637)
1. Split backend and frontend tests to avoid them running in parallel
2. Enable coverage only on `master`
2023-11-07 14:19:39 +01:00
Milorad FIlipović c11dfbbe00
ci: Add reusable unit test workflow (no-changelog) (#7159)
Github issue / Community forum post (link here to close automatically):

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-09-13 15:24:02 +02:00
कारतोफ्फेलस्क्रिप्ट™ 6b06890ffe
ci: Fix master build on Nodejs 20 (no-changelog) (#7119)
[`shelljs` is broken on Nodejs
20.6](https://github.com/shelljs/shelljs/issues/1133). Until that is
resolved, we should fix the version to 20.5
2023-09-06 13:16:39 +02:00
कारतोफ्फेलस्क्रिप्ट™ 9e3e298aca
ci: Fix versions of all external Github actions (no-changelog) (#6984) 2023-08-22 11:21:16 +02:00
Iván Ovejero f93270abd5
ci: Parallelize ci-master (no-changelog) (#6819)
* ci: Parallelize `ci-master` (no-changelog)

* ci: Move notify-on-failure to own job

* ci: Fix syntax

* ci: Dry run by adding branch

* ci: Fix job reference

* ci: Ensure full lint

* ci: Restore `CI_LINT_MASTER`

* ci: Remove env from top level

* ci: Add matrix strategy

* ci: Remove excess quotes

* ci: Remove excess key

* ci: Try with `run_install`

* Revert "ci: Try with `run_install`"

This reverts commit e5778c5735.

* ci: Add missing strategy

* ci: Remove temp branch

* test: Comment out test (from other PR)
2023-08-02 17:38:35 +02:00
कारतोफ्फेलस्क्रिप्ट™ b701dcb8ef
ci!: Drop support for Node.js 16. Add initial support for Node.js 20 (#6649)
We need to drop node 16 support, [as support for it is ends much earlier now, due to support for openssl 1.1.1 ending](https://nodejs.org/en/blog/announcements/nodejs16-eol).

`0.236.x` releases will continue to support Node.js 16 for another two months, and `1.x.x` releases will only support Node.js 18 for now.
2023-07-12 15:03:23 +02:00
कारतोफ्फेलस्क्रिप्ट™ 968b733fd6
ci: Add support for Node.js 18 (#5793)
* ci: Start supporting Node.js 18

Node.js 18 became the active LTS on 2022-10-25, and Node.js 16 went into maintenance mode.
https://github.com/nodejs/Release#release-schedule

We should also slowly deprecate node 16 support, [as support for it is ends much earlier now, due to support for openssl 1.1.1 ending](https://nodejs.org/en/blog/announcements/nodejs16-eol).

* Remove hashing algorithms that are not available in newer node.js/openssl

- RSA-MD4
- RSA-MDC2
- md4
- md4WithRSAEncryption
- mdc2
- mdc2WithRSA

* in e2e tests, resolve `localhost` to ipv4 instead of ipv6
2023-06-02 15:23:28 +02:00
कारतोफ्फेलस्क्रिप्ट™ e1aa654835
ci: Revert "Set up Turborepo cache for GitHub actions runner" (#6364) (no-changelog)
Revert "ci: Set up Turborepo cache for GitHub actions runner (no-changelog) (#6335)"

This reverts commit 9dfc11037b.
2023-06-02 12:11:36 +02:00
Iván Ovejero 9dfc11037b
ci: Set up Turborepo cache for GitHub actions runner (no-changelog) (#6335) 2023-06-02 10:57:53 +02:00
कारतोफ्फेलस्क्रिप्ट™ a1b1f24ddf
feat(core): Replace client-oauth2 with an in-repo package (#6266)
Co-authored-by: Marcus <marcus@n8n.io>
2023-05-17 16:40:53 +02:00
कारतोफ्फेलस्क्रिप्ट™ b7d30f3eab
fix: Revert "Replace client-oauth2 with an in-repo package" (no-changelog) (#6265)
Revert "feat(core): Replace client-oauth2 with an in-repo package (#6056)"

This reverts commit 77ac953eaf.
2023-05-17 10:53:03 +02:00
कारतोफ्फेलस्क्रिप्ट™ 77ac953eaf
feat(core): Replace client-oauth2 with an in-repo package (#6056)
Co-authored-by: Marcus <marcus@n8n.io>
2023-05-16 16:31:11 +02:00
कारतोफ्फेलस्क्रिप्ट™ 9e9003bf13
ci: Drop support for Node.js 14 (#5835)
Node.js 14 goes EOL on 2023-04-30, and support for it should be dropped.
https://github.com/nodejs/Release#release-schedule
2023-03-30 12:23:39 +02:00
कारतोफ्फेलस्क्रिप्ट™ eb3ba83e63
ci: Setup code-coverage reporting for frontend packages (no-changelog) (#5679) 2023-03-14 13:13:21 +01:00
कारतोफ्फेलस्क्रिप्ट™ 3831201aaf
ci: Setup code-coverage reporting (no-changelog) (#5669) 2023-03-10 16:53:05 +01:00
कारतोफ्फेलस्क्रिप्ट™ eda3b8aba0
ci: Re-enable CI jobs on nodejs 14.x (no-changelog) (#5153)
Revert "ci: Disable CI jobs on nodejs 14.x (no-changelog) (#5132)"

This reverts commit b3adcbd813.
2023-01-30 13:09:09 +01:00
कारतोफ्फेलस्क्रिप्ट™ b3adcbd813
ci: Disable CI jobs on nodejs 14.x (no-changelog) (#5132)
ci: Disable CI jobs on nodejs 14.x

This is temporary until I figure out why CI jobs keep randomly failing on nodejs 14.x
2023-01-12 09:46:28 +01:00
Mutasem Aldmour c41c707654
ci: Update slack notifications for build steps (#4985)
ci: update slack notifications
2022-12-20 14:13:24 +01:00
कारतोफ्फेलस्क्रिप्ट™ 86a4965e9a
ci: Move full E2E tests into their own scheduled workflow (#4757) 2022-11-29 13:31:36 +01:00
कारतोफ्फेलस्क्रिप्ट™ 500775de69
ci: Make end-to-end testing independent of development environments (no-changelog) (#4709)
* use user-folder override consistently everywhere, including for the `.cache` folder

* use consistent config for e2e tesing, skipping config loading from env and config files

* simplify all the cypress commands, and run all e2e tests on master
2022-11-24 12:49:01 +01:00
कारतोफ्फेलस्क्रिप्ट™ bb5ebdf6c9
ci: Send Slack notifications when important builds fail (no-changelog) (#4638)
ci: Send Slack notifications when important builds fail
2022-11-17 18:52:03 +01:00
Iván Ovejero 52f38df867
refactor: Remove unused vars to fix build (no-changelog) (#4584)
* 🔥 Remove unused vars to fix build

* 👕 Make unused vars severity conditional
2022-11-11 16:07:50 +01:00
कारतोफ्फेलस्क्रिप्ट™ 736777385c
feat: Switch from npm to pnpm (#4429) 2022-11-09 17:32:05 +01:00
Alex Grozav 77644860c0
feat: Add cypress e2e tests for signup and signin (#3490)
* feat: Added cypress setup files.

* feat: Added server bootup and initial test run.

* feat: Added e2e tests for signin, signup, and personalization form.

* feat: Added e2e tests for adding a function node.

* feat: Added set node and workflow execution steps.

* feat: Added test id to main sidebar.

* feat: Added test for creating a new workflow.

* feat: Finished test for creating a blank workflow

* chore: Removed screenshots from e2e tests.

* refactor: change e2e tests to per page structure

* feat: add cypress type enchancements

* feat: add typescript for cypress tests

* fix: remove component after merge

* feat: update cypress definitions

* feat: add cypress cleanup task

* refactor: update cypress script names

* ci: add smoke tests to workflow

* chore: remove cypress example files

* feat: update signup flow to be reusable

* fix: fix signup route for cypress page object

* fix: remove cypress reset command

* fix: remove unused imports

* fix: Add unhandled error catcher
2022-11-08 14:21:10 +02:00
कारतोफ्फेलस्क्रिप्ट™ 1c98f97e9e
ci: Revert support for node.js 18 (#4518) (#4537)
Revert "ci: Start supporting node.js 18 (#4518)"

This reverts commit 9ee292cd17.
2022-11-07 17:23:08 +01:00
कारतोफ्फेलस्क्रिप्ट™ 9ee292cd17
ci: Start supporting node.js 18 (#4518)
* ci: start supporting node.js 18

Node.js 18 becomes the active LTS on 2022-10-25, as Node.js 16 goes into maintenance mode.
https://github.com/nodejs/Release#release-schedule

* continue using node 16 for production images

* node 16 for debian and base images as well for now
2022-11-07 15:51:57 +01:00
Iván Ovejero 13f52a2544
ci: revert sorting CI steps by length (no-changelog) (#4306)
 Revert "perf(ci): Sort CI steps by length (#4243)"

This reverts commit d47ff48fb6.
2022-10-10 19:50:26 +02:00
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
कारतोफ्फेलस्क्रिप्ट™ 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
कारतोफ्फेलस्क्रिप्ट™ 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
कारतोफ्फेलस्क्रिप्ट™ 1f9bdd09a2
fix(ci): Setup a separate workflow action to test for pushes on master (#3951) 2022-08-26 10:27:04 +02:00