Skip to content

Commit

Permalink
Move bundlewatch to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Mar 21, 2023
1 parent a6d8aa8 commit 7b845a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 263 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/bundlewatch.yml
Expand Up @@ -37,7 +37,8 @@ jobs:
run: npm run dist

- name: Run bundlewatch
run: npm run bundlewatch
env:
BUNDLEWATCH_GITHUB_TOKEN: "${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}"
CI_BRANCH_BASE: main
uses: jackyef/bundlewatch-gh-action@0.2.1
with:
branch-base: main
bundlewatch-config: .bundlewatch.config.json
bundlewatch-github-token: "${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}"
257 changes: 0 additions & 257 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -40,7 +40,7 @@
"style": "dist/css/bootstrap.css",
"scripts": {
"start": "npm-run-all --parallel watch docs-serve",
"bundlewatch": "bundlewatch --config .bundlewatch.config.json",
"bundlewatch": "npx bundlewatch --config .bundlewatch.config.json",
"css": "npm-run-all css-compile css-prefix css-rtl css-minify",
"css-compile": "sass --style expanded --source-map --embed-sources --no-error-css scss/:dist/css/",
"css-rtl": "cross-env NODE_ENV=RTL postcss --config build/postcss.config.js --dir \"dist/css\" --ext \".rtl.css\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*.rtl.css\"",
Expand Down Expand Up @@ -112,7 +112,6 @@
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2",
"autoprefixer": "^10.4.14",
"bundlewatch": "^0.3.3",
"clean-css-cli": "^5.6.2",
"cross-env": "^7.0.3",
"eslint": "^8.36.0",
Expand Down

0 comments on commit 7b845a6

Please sign in to comment.