-
-
Notifications
You must be signed in to change notification settings - Fork 222
Updates_31072025 #554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Updates_31072025 #554
Changes from all commits
1e71366
2da7504
1bd44d7
be92e78
fff9958
4d39234
3a541f3
25097be
09124d9
ccff0b7
a2d06a0
6325e67
4699a17
38cac8a
ef2f30b
0d83408
4524219
017f3ec
d1ec4ec
69a4411
1deba4e
573a0f5
19cb7f0
50786f7
96aad48
ae98db6
64e6067
ddf9942
ffe295b
4c9e91f
62c07c7
0b42699
fb15b24
a199ca9
980952b
cacab00
a8f60f1
99893b5
c342c4a
ff139b8
8a12eaa
6f7faa5
c406a73
1813ac2
8387e37
ce9c04d
ff4dcac
fea1deb
10d8e87
843fab2
ece20ac
5aa233c
6fbfc17
b3c7ba9
b97c829
6bf1d47
ea77b95
4a8a27d
c4bad56
27dd6d7
c191122
57b04b5
50ceef6
44811c8
377f181
b2f9c87
8350261
4319820
e52e1b0
77d6318
70ffdfb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [main, master, develop, updates_31072025] | ||
pull_request: | ||
branches: [main, master, develop] | ||
|
||
jobs: | ||
build-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 10.15.1 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
cache: 'pnpm' | ||
- run: pnpm install | ||
- run: pnpm test -- --run | ||
env: | ||
CI: true | ||
- run: pnpm build | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: dist | ||
path: dist | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
name: Playwright Tests | ||
on: | ||
push: | ||
branches: [ main, master, develop ] | ||
pull_request: | ||
branches: [ main, master, develop ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
timeout-minutes: 60 | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
browser: [chromium, webkit] | ||
shard: [1] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 10.15.1 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
cache: 'pnpm' | ||
|
||
# Cache is handled by setup-node with cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Install Playwright Browsers | ||
run: pnpm exec playwright install --with-deps ${{ matrix.browser }} | ||
|
||
- name: Run Playwright tests | ||
run: pnpm exec playwright test --project=${{ matrix.browser }} --shard=${{ matrix.shard }}/4 | ||
env: | ||
CI: true | ||
|
||
- name: Upload test results | ||
uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: playwright-results-${{ matrix.browser }}-${{ matrix.shard }} | ||
path: | | ||
playwright-report/ | ||
test-results/ | ||
retention-days: 30 | ||
|
||
test-components: | ||
timeout-minutes: 30 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 10.15.1 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Install Playwright | ||
run: pnpm exec playwright install --with-deps chromium | ||
|
||
- name: Run component tests | ||
run: pnpm exec playwright test -c playwright-ct.config.ts | ||
|
||
- name: Upload component test results | ||
uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: playwright-ct-results | ||
path: | | ||
playwright-ct-report/ | ||
test-results/ | ||
retention-days: 30 | ||
|
||
report: | ||
needs: [test, test-components] | ||
if: always() | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/download-artifact@v4 | ||
with: | ||
path: all-results | ||
pattern: playwright-* | ||
|
||
- name: Merge reports | ||
run: | | ||
npx playwright merge-reports --reporter html ./all-results/playwright-results-* | ||
|
||
- name: Upload merged report | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: playwright-report | ||
path: playwright-report/ | ||
retention-days: 30 | ||
|
||
- name: Deploy to GitHub Pages | ||
if: github.ref == 'refs/heads/main' | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./playwright-report | ||
Comment on lines
+88
to
+115
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Release (tag) | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 10.15.1 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
registry-url: 'https://registry.npmjs.org' | ||
cache: 'pnpm' | ||
- run: pnpm install --frozen-lockfile | ||
- run: pnpm build | ||
- run: npm publish --provenance --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
Comment on lines
+10
to
+25
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: size-limit | ||
|
||
on: | ||
pull_request: | ||
branches: [main, master, develop] | ||
|
||
jobs: | ||
size: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 10.15.1 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
cache: 'pnpm' | ||
- run: pnpm install --frozen-lockfile | ||
- run: pnpm size-limit | ||
Comment on lines
+9
to
+20
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
|
||
|
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium