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 Oct 22, 2021
1 parent 5771fcc commit af326c4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 262 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/bundlewatch.yml
Expand Up @@ -31,7 +31,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.0
with:
branch-base: main
bundlewatch-config: .bundlewatch.config.json
bundlewatch-github-token: "${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}"
256 changes: 0 additions & 256 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 @@ -21,7 +21,7 @@
],
"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 @@ -109,7 +109,6 @@
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/plugin-replace": "^3.0.0",
"autoprefixer": "^10.3.7",
"bundlewatch": "^0.3.2",
"clean-css-cli": "^5.4.2",
"cross-env": "^7.0.3",
"cspell": "^5.12.3",
Expand Down

0 comments on commit af326c4

Please sign in to comment.