mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Revert Auto Build Frontend Workflow
This commit is contained in:
parent
bf5ccfffa5
commit
0c1c220bb9
42
.github/workflows/build-frontend-development.yml
vendored
42
.github/workflows/build-frontend-development.yml
vendored
@ -1,42 +0,0 @@
|
|||||||
# This workflow:
|
|
||||||
# - Sets up Node.js with a yarn cache
|
|
||||||
# - Installs packages via yarn, using yarn.lock
|
|
||||||
# - Builds the frontend bundle
|
|
||||||
# - Commits the frontend bundle
|
|
||||||
|
|
||||||
name: Frontend CI/CD [dev]
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "development" ]
|
|
||||||
paths: 'frontend/**'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
working-directory: 'frontend'
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Use Node.js 18
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: 18
|
|
||||||
cache: 'yarn'
|
|
||||||
cache-dependency-path: '**/yarn.lock'
|
|
||||||
- name: install packages
|
|
||||||
run: yarn install --immutable --immutable-cache --check-cache
|
|
||||||
- name: build frontend bundle [dev]
|
|
||||||
run: yarn build-dev
|
|
||||||
- name: setup git config
|
|
||||||
run: |
|
|
||||||
git config user.name "GitHub Actions Bot"
|
|
||||||
git config user.email "<>"
|
|
||||||
- name: commit bundle [dev]
|
|
||||||
run: |
|
|
||||||
git add dist/* -f
|
|
||||||
git commit -m "[bot] builds dev bundle"
|
|
||||||
git push origin development
|
|
42
.github/workflows/build-frontend-production.yml
vendored
42
.github/workflows/build-frontend-production.yml
vendored
@ -1,42 +0,0 @@
|
|||||||
# This workflow:
|
|
||||||
# - Sets up Node.js with a yarn cache
|
|
||||||
# - Installs packages via yarn, using yarn.lock
|
|
||||||
# - Builds the frontend bundle
|
|
||||||
# - Commits the frontend bundle
|
|
||||||
|
|
||||||
name: Frontend CI/CD [production]
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "main" ]
|
|
||||||
paths: 'frontend/**'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
working-directory: 'frontend'
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Use Node.js 18
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: 18
|
|
||||||
cache: 'yarn'
|
|
||||||
cache-dependency-path: '**/yarn.lock'
|
|
||||||
- name: install packages
|
|
||||||
run: yarn install --immutable --immutable-cache --check-cache
|
|
||||||
- name: build frontend bundle [production]
|
|
||||||
run: yarn build
|
|
||||||
- name: setup git config
|
|
||||||
run: |
|
|
||||||
git config user.name "GitHub Actions Bot"
|
|
||||||
git config user.email "<>"
|
|
||||||
- name: commit bundle [production]
|
|
||||||
run: |
|
|
||||||
git add dist/* -f
|
|
||||||
git commit -m "[bot] builds production bundle"
|
|
||||||
git push origin main
|
|
Loading…
x
Reference in New Issue
Block a user