Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 5 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Integration UnitTest
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
workflow_call:

jobs:
macos-browser-test:
Expand All @@ -23,8 +23,9 @@ jobs:
node-version: 24
registry-url: "https://registry.npmjs.org"
- run: npm install -g npm@latest
- run: npm install
- run: npm ci
- run: npm run test
- run: npm audit --audit-level=high --omit=dev

windows-browser-test:
runs-on: windows-latest
Expand All @@ -38,5 +39,6 @@ jobs:
node-version: 24
registry-url: "https://registry.npmjs.org"
- run: npm install -g npm@latest
- run: npm install
- run: npm ci
- run: npm run test
- run: npm audit --audit-level=high --omit=dev
8 changes: 3 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,38 @@ name: Lint
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
workflow_call:

jobs:
macos-browser-test:
runs-on: macos-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: "https://registry.npmjs.org"
- run: npm install -g npm@latest
- run: npm install
- run: npm ci
- run: npm run lint

windows-browser-test:
runs-on: windows-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: "https://registry.npmjs.org"
- run: npm install -g npm@latest
- run: npm install
- run: npm ci
- run: npm run lint
11 changes: 9 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ permissions:
contents: read

jobs:
build:
lint:
uses: ./.github/workflows/lint.yml

integration:
uses: ./.github/workflows/integration.yml

publish:
needs: [lint, integration]
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -23,7 +30,7 @@ jobs:
node-version: 24
registry-url: "https://registry.npmjs.org"
- run: npm install -g npm@latest
- run: npm install
- run: npm ci
- run: npm run publish:dist
- run: npm publish --access public
working-directory: ./dist/src
Expand Down
16 changes: 16 additions & 0 deletions e2e/pages/shape/paths.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,22 @@
.curveTo(500, 500, 490, 470);
root.addChild(freeform);

const bubble2 = new Shape();
bubble2.graphics
.beginFill(0xFFFFFF)
.drawRoundRect(-140, -70, 280, 80, 12)
.endFill()
.beginFill(0xFFFFFF)
.moveTo(-20, 10)
.lineTo(0, 30)
.lineTo(20, 10)
.endFill();

bubble2.scaleX = bubble2.scaleY = 0.5;
bubble2.x = 350;
bubble2.y = 160;
root.addChild(bubble2);

window.__E2E_RENDER_COMPLETE__ = true;
});
</script>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified e2e/snapshots/webgl/shape.spec.ts-snapshots/paths-webgl-darwin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading