Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ビルドされたファイルを git から除外 #1146

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,53 +4,20 @@ on:
pull_request:
branches:
- master
- develop
jobs:
buid_check:
name: build test
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 20.x

- run: cp _g2/assets/js/lightning.min.js lightning.min.js.before
- run: cp _g2/assets/css/common.css common.css.before
- run: cp _g2/assets/css/common_editor.css common_editor.css.before
- run: cp _g2/assets/css/wp-embed.css wp-embed.css.before

- run: cp _g2/library/bootstrap-4/css/bootstrap.css bootstrap4.css.before
- run: cp _g2/library/bootstrap-3/css/bootstrap.css bootstrap3.css.before

- run: cp _g2/design-skin/origin/css/style.css origin.style.css.before
- run: cp _g2/design-skin/origin/css/editor.css origin.editor.css.before

- run: cp _g2/design-skin/origin2/css/style.css origin2.style.css.before
- run: cp _g2/design-skin/origin2/css/editor.css origin2.editor.css.before

- run: cp _g2/plugin-support/woocommerce/css/woo.css woo.css.before

- run: npm install -D

# js forget compile check
- name: build Javascript
run: npm run build:script
- run: diff _g2/assets/js/lightning.min.js lightning.min.js.before

# common css forget compile check
- name: build Common StyleSheet
run: npx gulp sass
- run: diff _g2/assets/css/common.css common.css.before
- run: diff _g2/assets/css/common_editor.css common_editor.css.before
- run: diff _g2/assets/css/wp-embed.css wp-embed.css.before
- run: diff _g2/library/bootstrap-4/css/bootstrap.css bootstrap4.css.before
- run: diff _g2/library/bootstrap-3/css/bootstrap.css bootstrap3.css.before
- run: diff _g2/design-skin/origin/css/style.css origin.style.css.before
- run: diff _g2/design-skin/origin/css/editor.css origin.editor.css.before
- run: diff _g2/design-skin/origin2/css/style.css origin2.style.css.before
- run: diff _g2/design-skin/origin2/css/editor.css origin2.editor.css.before
- run: diff _g2/plugin-support/woocommerce/css/woo.css woo.css.before
- name: build
run: npm run build

php_unit:
name: php unittest
Expand Down
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,10 @@ thumbs.db
/test-results/
/playwright-report/
/playwright/.cache/
.phpunit.result.cache
.phpunit.result.cache

/_g3/assets/css/
/_g3/assets/js/main.js
/_g3/assets/js/main.js.map
/_g2/assets/css/
/_g2/assets/js/
1 change: 0 additions & 1 deletion _g2/assets/css/common.css

This file was deleted.

1 change: 0 additions & 1 deletion _g2/assets/css/common_editor.css

This file was deleted.

1 change: 0 additions & 1 deletion _g2/assets/css/wp-embed.css

This file was deleted.

1 change: 0 additions & 1 deletion _g2/assets/js/lightning.min.js

This file was deleted.

1 change: 0 additions & 1 deletion _g3/assets/css/editor-widget.css

This file was deleted.

1 change: 0 additions & 1 deletion _g3/assets/css/editor.css

This file was deleted.

1 change: 0 additions & 1 deletion _g3/assets/css/style-theme-json.css

This file was deleted.

1 change: 0 additions & 1 deletion _g3/assets/css/style.css

This file was deleted.

1 change: 0 additions & 1 deletion _g3/assets/css/wp-embed.css

This file was deleted.

Loading
Loading