mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-01 11:25:01 +03:00
40 lines
720 B
YAML
40 lines
720 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
# branches: [master, develop]
|
|
branches: [master]
|
|
pull_request:
|
|
# branches: [master, develop]
|
|
branches: [master]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Use Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.x
|
|
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 16.x
|
|
cache: npm
|
|
|
|
- name: Install Pipenv
|
|
run: pip install --upgrade pip && pip install pipenv
|
|
|
|
- name: Install
|
|
run: npm install
|
|
|
|
- name: Check setup
|
|
run: npm run check
|
|
|
|
- name: Build
|
|
run: npm run build
|