Skip to content

Commit a14bc36

Browse files
committed
chore: temporary save
1 parent 9b64d4d commit a14bc36

File tree

15 files changed

+8975
-2682
lines changed

15 files changed

+8975
-2682
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ jobs:
3939
with:
4040
fetch-depth: 0
4141

42-
- name: Setup Node.js
43-
uses: actions/setup-node@v4
42+
- uses: actions/setup-node@v4
4443
with:
4544
node-version-file: "package.json"
4645
cache: "npm"

.github/workflows/semantic.release.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,12 @@ jobs:
2121
needs: build
2222
runs-on: ubuntu-latest
2323
steps:
24-
- name: Checkout
25-
uses: actions/checkout@v4
24+
- uses: actions/checkout@v4
2625
with:
2726
fetch-depth: 0
2827
persist-credentials: false
2928

30-
- name: Setup Node.js
31-
uses: actions/setup-node@v4
29+
- uses: actions/setup-node@v4
3230
with:
3331
node-version-file: "package.json"
3432
cache: "npm"

.github/workflows/test.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request_target:
7+
branches: [main]
8+
types: [opened, synchronize]
9+
10+
jobs:
11+
test:
12+
timeout-minutes: 60
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version-file: "package.json"
20+
cache: "npm"
21+
22+
- name: Install dependencies
23+
run: npm ci
24+
25+
- name: Build extension
26+
run: npm run build
27+
28+
- name: Run tests
29+
run: npm run test
30+
31+
- name: Upload report
32+
uses: actions/upload-artifact@v4
33+
if: always()
34+
with:
35+
name: test-report
36+
path: test-report/
37+
retention-days: 30

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ xcuserdata/
1010
node_modules/
1111
.wxt/
1212

13+
# Test
14+
playwright-report/
15+
test-results/
16+
1317
# Build
1418
.output/
1519

biome.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
"linter": {
2525
"enabled": true,
2626
"rules": {
27-
"recommended": true
27+
"recommended": true,
28+
"suspicious": {
29+
"noConsole": "error"
30+
}
2831
}
2932
},
3033
"javascript": {

0 commit comments

Comments
 (0)