-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: trigger change * fix: run linter * fix: run worker pre reqs * fix: bad equals signs * fix: syntax * fix: test * add action for test e2e * fix: trigger worker * fix: lint build * fix: split unit tests * fix: trigger tests * fix: ws tests * fix: providers t esting * fix: lint for app generic * fix: run parallel * refactor: remove duplicate jobs * fix: pipeline concurrency * fix: lint commands for providers * fix: application generic lint errors * fix: tests for client * fix: embed tests * fix: add work in progress * fix: test providers flow * fix: test providers * fix: yml structure * fix: yml structure * fix: indentation * fix: import statement * fix: remove duplicate test * fix: affected run * fix: pnpm get affected * fix: true position * fix: log command * fix: tail commands * fix: tail to +5 * fix: change * fix: test provider * fix: test * fix: test * fix: providers * fix: test * fix: providers run only * fix: utilize nx for providers * fix: move docker build test * fix: tests for providers * fix: update cache * fix: tests * fix: timeout time for failed * fix: reduce job * fix: speed up affected calls * fix: restore commands * fix: remove last duplicates * fix: deploy to dev * fix: nest testing * fix: mandril tests * fix: input * fix: pipe env * fix: skip previously failing tests TODO: fix later and re enable * fix: package linters * fix: missing tests * fix: stateless tests * fix: testing lib tests * fix: widget tests * feat: resolve app generic spec for unit tests * fix: quick fix for application generic-tests * fix: debug reporter silence * fix: try nx_daemon off for install env * fix: trigger build fix: flaky widget test fix: packages combine fix: filtered items sync fix: filtered items sync fix: packages filter for app generic fix: debug app generic flow fix: play with network idle to crrect fix: test cached packages folder fix: cache path fix: add codeql concurrency fix: add more caching fix: cache fix: cache fix: branch name fix: testing count for processing fix: testing count for processing fix: remove wait for template callback fix: widget add network idle fix: test cypress cache fix: cypress in ci fix: inputs fix: trigger build fix: test fix: worker tests fix: test setup node fix: restore fix: wait for network idle fix: add network idle fix: org id to template id fix: network idle ci: try idle test: try remove visit templates fix: e2e gap fix: templates fix: wait unseen fix: run mode retries fix: activities fix: maybe like this? fix: retest fix: widget fix: test ci: remove flaky tests fix: build fix: wait for fix: combine test libs fix: performance fix: start static worker ci: wip fix: restore fix: unseen wait fix: wait for fix: unify searches for packages * fix: refactor widget tests * fix: add ws * fix: dist path * fix: try env * fix: add timeout
- Loading branch information
Showing
116 changed files
with
9,730 additions
and
14,021 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
name: Run Worker | ||
|
||
description: Sets up a Redis Cluster instance needed to run the tests | ||
|
||
runs: | ||
using: composite | ||
|
||
steps: | ||
- name: Install wait-on plugin | ||
shell: bash | ||
run: npm i -g wait-on | ||
|
||
- name: Build worker | ||
shell: bash | ||
run: CI='' pnpm build:worker | ||
|
||
- name: Start worker | ||
shell: bash | ||
env: | ||
IN_MEMORY_CLUSTER_MODE_ENABLED: true | ||
run: cd apps/worker && pnpm start:test & | ||
|
||
- name: Wait on worker | ||
shell: bash | ||
run: wait-on --timeout=180000 http://localhost:1342/v1/health-check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,10 @@ inputs: | |
description: 'The version of cypress to install' | ||
required: false | ||
default: '' | ||
slim: | ||
description: 'Should only install dependencies and checkout code' | ||
required: false | ||
default: 'false' | ||
outputs: | ||
cypress_cache_hit: | ||
description: 'Did cypress use binary cache' | ||
|
@@ -19,40 +23,24 @@ runs: | |
- name: ⚙️ Setup kernel for react native, increase watchers | ||
shell: bash | ||
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | ||
- uses: pnpm/action-setup@v2 | ||
|
||
- uses: actions/setup-node@v3 | ||
name: ⚙️ Setup Node Version | ||
with: | ||
node-version: '16.15.1' | ||
cache: 'pnpm' | ||
|
||
- name: 💵 Start Redis | ||
if: ${{ inputs.slim == 'false' }} | ||
uses: supercharge/[email protected] | ||
|
||
- name: 📚 Start MongoDB | ||
if: ${{ inputs.slim == 'false' }} | ||
uses: supercharge/[email protected] | ||
with: | ||
mongodb-version: 4.2.8 | ||
|
||
- uses: pnpm/action-setup@v2 | ||
name: 🛟 Install pnpm | ||
id: pnpm-install | ||
with: | ||
run_install: false | ||
|
||
- name: ⛏️ Get pnpm store directory | ||
id: pnpm-cache | ||
shell: bash | ||
run: | | ||
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | ||
- uses: actions/cache@v3 | ||
name: 🏦 Setup pnpm cache | ||
with: | ||
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
- name: Cache Cypress Binary For Version | ||
id: cache-cypress-binary-version | ||
if: ${{ inputs.cypress_version != '' }} | ||
|
@@ -71,4 +59,4 @@ runs: | |
|
||
- name: 🛟 Install dependencies | ||
shell: bash | ||
run: pnpm install | ||
run: pnpm install --frozen-lockfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
f00e2f5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://dev.embed.novu.co as production
🚀 Deployed on https://6447d8b972c3de06da48f4dc--dev-embed-novu.netlify.app
f00e2f5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://novu-web-component-dev.netlify.app as production
🚀 Deployed on https://6447d91c618a48005b9e5cb6--novu-web-component-dev.netlify.app
f00e2f5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://dev.widget.novu.co as production
🚀 Deployed on https://6447dc2505590600a7a99440--dev-widget-novu.netlify.app