Skip to content

Commit d790579

Browse files
committed
Improve pipeline
1 parent 09e0391 commit d790579

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/artifacts-zip.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
node-version: "16"
2222
- run: npm install
2323
- run: npm run process-styles
24-
- run: rm -rf node_modules
24+
- run: rm -rf node_modules && rm -rf assets && rm -rf .github && rm -rf .git && rm .gitignore package-lock.json package.json part.edge.json part.firefox.json CHANGELOG.md styles/main.css styles/main.css.map styles/main.scss
2525
- run: npm install --production
2626
- run: zip -qq -r tldr-pages-chrome.zip .
2727

@@ -42,7 +42,7 @@ jobs:
4242
node-version: "16"
4343
- run: npm install
4444
- run: npm run process-styles
45-
- run: rm -rf node_modules
45+
- run: rm -rf node_modules && rm -rf assets && rm -rf .github && rm -rf .git && rm .gitignore package-lock.json package.json part.edge.json part.firefox.json CHANGELOG.md styles/main.css styles/main.css.map styles/main.scss
4646
- run: npm install --production
4747
- run: jq 'del(.background)' manifest.json > manifest.json
4848
- run: jq -s 'reduce .[] as $item ({}; . * $item)' manifest.json part.firefox.json > manifest.json
@@ -65,10 +65,10 @@ jobs:
6565
node-version: "16"
6666
- run: npm install
6767
- run: npm run process-styles
68-
- run: rm -rf node_modules
68+
- run: rm -rf node_modules && rm -rf assets && rm -rf .github && rm -rf .git && rm .gitignore package-lock.json package.json part.edge.json part.firefox.json CHANGELOG.md styles/main.css styles/main.css.map styles/main.scss
6969
- run: npm install --production
7070
- run: jq -s 'reduce .[] as $item ({}; . * $item)' manifest.json part.edge.json > manifest.json
71-
- run: zip -qq -r tldr-pages.zip .
71+
- run: zip -qq -r tldr-pages-edge.zip .
7272

7373
- uses: actions/upload-artifact@v2
7474
with:

0 commit comments

Comments
 (0)