mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-22 07:01:07 +03:00
5a37227d14
* markdown files and env examples cleanup * components update * update jsonlines description * server refractor * update telemetry * add execute custom node * add ui refractor * add username and password authenticate * correctly retrieve past images in agentflowv2 * disable e2e temporarily * add existing username and password authenticate * update migration to default workspace * update todo * blob storage migrating * throw error on agent tool call error * add missing execution import * add referral * chore: add error message when importData is undefined * migrate api keys to db * fix: data too long for column executionData * migrate api keys from json to db at init * add info on account setup * update docstore missing fields --------- Co-authored-by: chungyau97 <chungyau97@gmail.com>
53 lines
1.6 KiB
YAML
53 lines
1.6 KiB
YAML
name: Node CI
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
platform: [ubuntu-latest]
|
|
node-version: [18.15.0]
|
|
runs-on: ${{ matrix.platform }}
|
|
env:
|
|
PUPPETEER_SKIP_DOWNLOAD: true
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: pnpm/action-setup@v3
|
|
with:
|
|
version: 9.0.4
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'pnpm'
|
|
cache-dependency-path: 'pnpm-lock.yaml'
|
|
- run: pnpm install
|
|
- run: pnpm lint
|
|
- run: pnpm build
|
|
env:
|
|
NODE_OPTIONS: '--max_old_space_size=4096'
|
|
- name: Cypress install
|
|
run: pnpm cypress install
|
|
- name: Install dependencies (Cypress Action)
|
|
uses: cypress-io/github-action@v6
|
|
with:
|
|
working-directory: ./
|
|
runTests: false
|
|
- name: Cypress test
|
|
uses: cypress-io/github-action@v6
|
|
with:
|
|
install: false
|
|
working-directory: packages/server
|
|
start: pnpm start
|
|
wait-on: 'http://localhost:3000'
|
|
wait-on-timeout: 120
|
|
browser: chrome
|