-
Notifications
You must be signed in to change notification settings - Fork 131
62 lines (56 loc) · 1.41 KB
/
Copy pathbuild.yml
File metadata and controls
62 lines (56 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Build ZIP File
on:
pull_request:
push:
workflow_dispatch:
workflow_call:
jobs:
deploy:
name: Build dependencies & create artifact
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Environment
uses: ./.github/actions/setup
- name: Build assets
run: npm run build
- name: Remove unuseful data
run: |
rm .git/ -rf
rm .storybook/ -rf
rm docker/ -rf
rm docs/ -rf
rm node_modules/ -rf
rm src/ -rf
rm stories/ -rf
rm types/ -rf
rm vendor/ -rf
rm webpack/ -rf
rm .editorconfig
rm .eslintignore
rm .eslintrc.js
rm .gitignore
rm .stylelintignore
rm .stylelintrc
rm .aider.conf.yml
rm .antigravityrules
rm .cursorrules
rm .opencoderules
rm .windsurfrules
rm CLAUDE.md
rm CONTEXT.md
rm babel.config.js
rm jest.config.js
rm package-lock.json
rm package.json
rm postcss.config.js
rm tsconfig.json
rm webpack.config.js
- name: Create & Upload artifact
uses: actions/upload-artifact@v7
with:
name: ${{ github.event.repository.name }}
path: |
./
!.github/