mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-22 21:01:17 +03:00
43 lines
915 B
YAML
43 lines
915 B
YAML
name: Node CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
|
|
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@v2
|
|
with:
|
|
version: 6.32.9
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
check-latest: false
|
|
cache: 'pnpm'
|
|
|
|
- run: npm i -g pnpm
|
|
|
|
- run: pnpm install
|
|
|
|
- run: pnpm lint
|
|
|
|
- run: pnpm build
|