Skip to content

Commit b3b9089

Browse files
committed
Fix pipelines
1 parent d790579 commit b3b9089

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/artifacts-zip.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
node-version: "16"
2222
- run: npm install
2323
- run: npm run process-styles
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
24+
- run: rm -rf node_modules
2525
- run: npm install --production
26+
- run: 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
2627
- run: zip -qq -r tldr-pages-chrome.zip .
2728

2829
- uses: actions/upload-artifact@v2
@@ -42,8 +43,9 @@ jobs:
4243
node-version: "16"
4344
- run: npm install
4445
- run: npm run process-styles
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
46+
- run: rm -rf node_modules
4647
- run: npm install --production
48+
- run: 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
4749
- run: jq 'del(.background)' manifest.json > manifest.json
4850
- run: jq -s 'reduce .[] as $item ({}; . * $item)' manifest.json part.firefox.json > manifest.json
4951
- run: zip -qq -r tldr-pages-firefox.zip .
@@ -65,8 +67,9 @@ jobs:
6567
node-version: "16"
6668
- run: npm install
6769
- run: npm run process-styles
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
70+
- run: rm -rf node_modules
6971
- run: npm install --production
72+
- run: 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
7073
- run: jq -s 'reduce .[] as $item ({}; . * $item)' manifest.json part.edge.json > manifest.json
7174
- run: zip -qq -r tldr-pages-edge.zip .
7275

.github/workflows/chrome-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- run: npm run process-styles
2424
- run: rm -rf node_modules
2525
- run: npm install --production
26+
- run: 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
2627
- run: zip -qq -r tldr-pages.zip .
2728
- uses: trmcnvn/chrome-addon@v2
2829
with:

0 commit comments

Comments
 (0)