Skip to content

Commit

Permalink
Removed not needed files from build
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorthiz committed Oct 21, 2024
1 parent 44dcfde commit a307751
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,23 @@ jobs:
uses: actions/configure-pages@v3

- run: npm ci
- name: Use stable versions of KSC and JS runtime
- name: Generate license, formats and build project
run: |
npm run generate-license
npm run generate-formats
npm run parcel-build
- name: Remove not needed files from build
run: |
rm -rf ./dist/formats/github
rm -rf ./dist/formats/_build
rm -rf ./dist/formats/.editorconfig
rm -rf ./dist/formats/.git
rm -rf ./dist/formats/.gitattributes
rm -rf ./dist/formats/.gitmodules
rm -rf ./dist/formats/CONTRIBUTING.md
rm -rf ./dist/formats/README.md
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
Expand Down

0 comments on commit a307751

Please sign in to comment.