Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Fix build (no-changelog) #6379

Merged
merged 1 commit into from
Jun 6, 2023
Merged

ci: Fix build (no-changelog) #6379

merged 1 commit into from
Jun 6, 2023

Conversation

ivov
Copy link
Contributor

@ivov ivov commented Jun 5, 2023

Ref: https://github.com/n8n-io/n8n/actions/runs/5174889842

vitest and jest globals are conflicting:

// node_modules/vitest/globals.d.ts
Definitions of the following identifiers conflict with those in another file: test, describe, it, expect, beforeAll, afterAll, beforeEach, afterEachts(6200)

index.d.ts(33, 1): Conflicts are in this file.
// node_modules/@types/jest/index.d.ts

This is preventing TS from seeing vitest globals:

Cannot find type definition file for 'vitest/globals'.

This causes TS to default vi to any:

Cannot find name 'vi'.ts(2304)

This is triggering the lint issues.

Patching the global for now to fix the build, but the preexisting root cause remains.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 5, 2023

Great PR! Please pay attention to the following items before merging:

Files matching packages/**:

  • If fixing bug, added test to cover scenario.
  • If addressing forum or Github issue, added link to description.

Files matching packages/**/*.ts:

  • Added unit tests to cover new or updated functionality.

Make sure to check off this list before asking for review.

@codecov
Copy link

codecov bot commented Jun 5, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.08 ⚠️

Comparison is base (e33989b) 28.31% compared to head (082f495) 28.24%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6379      +/-   ##
==========================================
- Coverage   28.31%   28.24%   -0.08%     
==========================================
  Files        2982     2982              
  Lines      185169   185169              
  Branches    20305    20303       -2     
==========================================
- Hits        52431    52300     -131     
- Misses     131951   132082     +131     
  Partials      787      787              

see 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jun 5, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2023

⚠️ Some Cypress E2E specs are failing, please fix them before merging

@cypress
Copy link

cypress bot commented Jun 6, 2023

1 flaky tests on run #1117 ↗︎

0 228 0 0 Flakiness 1

Details:

🌳 fix-build-2023-06-05 🖥️ browsers:node18.12.0-chrome107 🤖 ivov 🗃️ e2e/*
Project: n8n Commit: 082f495702
Status: Passed Duration: 07:13 💡
Started: Jun 6, 2023 11:35 AM Ended: Jun 6, 2023 11:42 AM
Flakiness  cypress/e2e/24-ndv-paired-item.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > can pair items between input and output across branches and runs Output Screenshots Video

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2023

✅ All Cypress E2E specs passed

@ivov ivov merged commit 78763c8 into master Jun 6, 2023
@ivov ivov deleted the fix-build-2023-06-05 branch June 6, 2023 11:44
MiloradFilipovic added a commit that referenced this pull request Jun 13, 2023
* master:
  test(editor): Unit test Version control frontend components (#6408)
  fix: Fist name to First Name in certain nodes (no-changelog) (#6404)
  fix(core): Allow all executions to be stopped (#6386)
  fix(core): RMC boolean value fix (#6397)
  fix(editor): Remove root level tag selector from css module to avoid making it a global style (#6392)
  fix(Ldap Node): Add DN field to update operation (#6371)
  feat: New trigger PostgreSQL  (#5495)
  build: Update pnpm lock file (no-changelog) (#6395)
  fix(Date & Time Node): Reset responseData at end of loop (#6385)
  refactor(core): Google service account remove duplicated functions (no-changelog) (#6368)
  refactor(LoneScale List Node)!: Rename to LoneScale (#6337)
  fix(editor): Update version control setup CTA tooltip (#6393)
  ci: Fix build (no-changelog) (#6391)
  fix(editor): Add button to refresh branches (#6387)
  fix(editor): Add Set up version control CTA (#6356)
  fix(editor): Remove explicit parameter name scanning for code editors (#6390)
  ci: Fix build (no-changelog) (#6379)
  fix(editor): Adding branch color (#6380)
  refactor(editor): Remove user activation modal (no-changelog) (#6361)
  feat(editor): Change upgrade CTA on community editions (no-changelog) (#6317)
@janober
Copy link
Member

janober commented Jun 14, 2023

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team Released ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants