Skip to content

Commit

Permalink
Add build_ci pup config, use that in gh tests
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctl committed Feb 20, 2024
1 parent 6066ef6 commit 64de757
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- run: bun install --frozen-lockfile

- name: Build packages
run: bun run build
run: bun run build_ci

- name: Get Composer Cache Directory
id: get-composer-cache-dir
Expand Down
4 changes: 4 additions & 0 deletions .puprc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"npm run build",
"composer wp"
],
"build_ci": [
"npm install --legacy-peer-deps",
"npm run build"
],
"build_dev": [
"composer install --no-dev",
"npm install --legacy-peer-deps",
Expand Down

0 comments on commit 64de757

Please sign in to comment.