Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 656089f

Browse files
committedMar 13, 2025··
Merge branch 'main' into develop
2 parents 5de798c + 9437acc commit 656089f

File tree

5 files changed

+86
-97
lines changed

5 files changed

+86
-97
lines changed
 

‎.github/workflows/build-develop.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
on:
2+
push:
3+
branches: [develop]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- run: composer install
11+
- run: composer lint
12+
- run: cd private && corepack enable && yarn && yarn lint && cd ..
13+
build:
14+
runs-on: ubuntu-latest
15+
needs: lint
16+
permissions:
17+
contents: write
18+
steps:
19+
- uses: actions/checkout@v4
20+
- run: composer install --no-ansi --no-dev --no-interaction --no-plugins --no-progress --no-scripts --classmap-authoritative
21+
- run: composer du -o
22+
- run: cd private && corepack enable && yarn && yarn build && cd ..
23+
- run: zip -r humanity-donations-develop.zip ./ -x docs\* -x private\* -x vendor\* -x .\* -x CHANGELOG.md -x CODE_OF_CONDUCT.md -x composer.json -x composer.lock -x CONTRIBUTING.md -x LICENSE.md -x phpcs.xml -x SECURITY.md
24+
- uses: softprops/action-gh-release@v2
25+
with:
26+
draft: true
27+
files: humanity-donations-develop.zip
28+
target_commitish: main

‎.github/workflows/build-main.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
on:
2+
push:
3+
branches: [main]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- run: composer install
11+
- run: composer lint
12+
- run: cd private && corepack enable && yarn && yarn lint && cd ..
13+
build:
14+
runs-on: ubuntu-latest
15+
needs: lint
16+
permissions:
17+
contents: write
18+
steps:
19+
- uses: actions/checkout@v4
20+
- run: composer install --no-ansi --no-dev --no-interaction --no-plugins --no-progress --no-scripts --classmap-authoritative
21+
- run: composer du -o
22+
- run: cd private && corepack enable && yarn && yarn build && cd ..
23+
- run: zip -r humanity-donations.zip ./ -x docs\* -x private\* -x vendor\* -x .\* -x CHANGELOG.md -x CODE_OF_CONDUCT.md -x composer.json -x composer.lock -x CONTRIBUTING.md -x LICENSE.md -x phpcs.xml -x SECURITY.md
24+
- uses: softprops/action-gh-release@v2
25+
with:
26+
draft: true
27+
files: humanity-donations.zip
28+
target_commitish: main

‎.github/workflows/build-staging.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
on:
2+
push:
3+
branches: [staging]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- run: composer install
11+
- run: composer lint
12+
- run: cd private && corepack enable && yarn && yarn lint && cd ..
13+
build:
14+
runs-on: ubuntu-latest
15+
needs: lint
16+
permissions:
17+
contents: write
18+
steps:
19+
- uses: actions/checkout@v4
20+
- run: composer install --no-ansi --no-dev --no-interaction --no-plugins --no-progress --no-scripts --classmap-authoritative
21+
- run: composer du -o
22+
- run: cd private && corepack enable && yarn && yarn build && cd ..
23+
- run: zip -r humanity-donations-staging.zip ./ -x docs\* -x private\* -x vendor\* -x .\* -x CHANGELOG.md -x CODE_OF_CONDUCT.md -x composer.json -x composer.lock -x CONTRIBUTING.md -x LICENSE.md -x phpcs.xml -x SECURITY.md
24+
- uses: softprops/action-gh-release@v2
25+
with:
26+
draft: true
27+
files: humanity-donations-staging.zip
28+
target_commitish: main

‎.travis.yml

Lines changed: 0 additions & 95 deletions
This file was deleted.

‎private/src/block/components/tag.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import classnames from 'classnames';
66
import PropTypes from 'prop-types';
77

8-
const { Button, Dashicon, IconButton, Popover } = wp.components;
8+
const { Button, Dashicon, Popover } = wp.components;
99
const { withInstanceId, withState } = wp.compose;
1010
const { Fragment } = wp.element;
1111
const { __, sprintf } = wp.i18n;
@@ -66,7 +66,7 @@ const Tag = ({
6666
<Popover onClose={() => setState(() => ({ isVisible: false }))}>{popoverContents}</Popover>
6767
)}
6868
{remove && (
69-
<IconButton
69+
<Button
7070
className="woocommerce-tag__remove"
7171
icon={<Dashicon icon="dismiss" size={20} />}
7272
onClick={remove(id)}

0 commit comments

Comments
 (0)
Please sign in to comment.