mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 13:29:53 +00:00
28 lines
623 B
YAML
28 lines
623 B
YAML
name: Node.js CI
|
|
on:
|
|
push:
|
|
branches: ['main']
|
|
pull_request:
|
|
jobs:
|
|
build:
|
|
name: 'Fmt, Lint, & Build'
|
|
env:
|
|
PUBLIC_API_BASE_URL: ''
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version:
|
|
- latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- run: node --version
|
|
- run: npm clean-install
|
|
- run: npm run fmt
|
|
#- run: npm run lint
|
|
#- run: npm run lint:types
|
|
- run: npm run build
|