Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: update relativeci workflow and webpack usage
Signed-off-by: John Molakvoæ <[email protected]>
  • Loading branch information
skjnldsv authored and mejo- committed Jan 29, 2024
commit 59e5c9c00dc93c536b93e15e6297e76e7d63e147
8 changes: 8 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ jobs:
run: |
npm ci
npm run build --if-present
npm run stats --if-present

- name: Send bundle stats to RelativeCI
uses: relative-ci/agent-action@e92b0c712e5ad0a039faf1026cbe438b8e7fed16 # v2
with:
webpackStatsFile: ./webpack-stats.json
key: ${{ secrets.RELATIVE_CI_KEY }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: Check webpack build changes
run: |
Expand Down
50 changes: 0 additions & 50 deletions .github/workflows/relativeci.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ cypress/downloads/
/tests/clover.xml
/tests/.phpunit.result.cache
dist/
webpack-stats.json
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
"module": "dist/index.js",
"main": "dist/index.js",
"scripts": {
"dev": "NODE_ENV=development webpack --config webpack.js",
"build": "webpack --node-env production --progress",
"dev:package": "vite",
"watch": "NODE_ENV=development webpack --progress --watch --config webpack.js",
"build": "NODE_ENV=production webpack --progress --config webpack.js",
"dev": "webpack --node-env development --progress",
"watch": "webpack --node-env development --progress --watch",
"stats": "webpack --node-env production --json webpack-stats.json",
"build:package": "vite build",
"lint": "eslint --ext .js,.vue src cypress",
"lint:fix": "eslint --ext .js,.vue src cypress --fix",
Expand Down
File renamed without changes.