Skip to content

Commit

Permalink
Merge pull request #4406 from nextcloud/fix/node-relativeci
Browse files Browse the repository at this point in the history
chore: update relativeci workflow and webpack usage
  • Loading branch information
mejo- committed Jun 28, 2023
2 parents 6712f6e + d60b8f6 commit 8508f78
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 53 deletions.
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.

0 comments on commit 8508f78

Please sign in to comment.