Skip to content

Commit

Permalink
Remove redundant build:css script
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Apr 13, 2021
1 parent 817be4f commit de08737
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build-test-measure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,7 @@ jobs:
run: composer install --prefer-dist --optimize-autoloader --no-progress --no-interaction

- name: Build plugin
run: |
npm run build:js
npm run build:css
run: npm run build:js

- name: Start Docker environment
run: npm run env:start
Expand Down Expand Up @@ -441,9 +439,7 @@ jobs:
CI: true

- name: Build plugin
run: |
npm run build:js
npm run build:css
run: npm run build:js

# Scan the logs for failing tests and surface that information by creating annotations and log file decorations.
- name: Setup problem matcher to provide annotations for PHPUnit
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@
"build:dev": "cross-env NODE_ENV=development npm-run-all 'build:!(dev|prod)'",
"build:prod": "cross-env NODE_ENV=production npm-run-all 'build:!(dev|prod)'",
"build:prepare": "grunt clean",
"build:css": "wp-scripts build",
"build:js": "wp-scripts build",
"build:run": "grunt build",
"build:zip": "grunt create-build-zip",
Expand Down

0 comments on commit de08737

Please sign in to comment.