Skip to content

Commit 4576700

Browse files
committed
build: refactor format
1 parent df418d6 commit 4576700

1 file changed

Lines changed: 17 additions & 8 deletions

File tree

apps/extension/moon.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ layer: "application"
33
tags: ["chrome-extension"]
44

55
tasks:
6+
bump:
7+
script: |
8+
bash ../../scripts/bump.sh \
9+
"@job-hunting/extension" \
10+
"package.json" \
11+
"--include-path apps/extension/** --include-path libs/analysis/**"
12+
options:
13+
runInCI: false
14+
615
ensure-deps:
716
command: "pnpm install"
817
inputs:
@@ -13,45 +22,45 @@ tasks:
1322
- "node_modules"
1423
options:
1524
cache: true
25+
1626
build:
1727
command: "pnpm"
1828
args: ["run", "build"]
1929
deps:
2030
- ~:ensure-deps
2131
- analysis:build
32+
2233
build-firefox:
2334
command: "pnpm"
2435
args: ["run", "build:firefox"]
2536
deps:
2637
- ~:ensure-deps
2738
- analysis:build
39+
2840
test-unit:
2941
command: "pnpm"
3042
args: ["run", "test:unit"]
3143
deps:
3244
- ~:ensure-deps
45+
3346
compile:
3447
options:
3548
runInCI: false
36-
bump:
37-
script: |
38-
bash ../../scripts/bump.sh \
39-
"@job-hunting/extension" \
40-
"package.json" \
41-
"--include-path apps/extension/** --include-path libs/analysis/**"
42-
options:
43-
runInCI: false
49+
4450
zip:
4551
options:
4652
runInCI: false
53+
4754
zip-firefox:
4855
options:
4956
runInCI: false
57+
5058
install-playwright:
5159
command: "pnpm exec playwright install --with-deps"
5260
options:
5361
cache: false
5462
mutex: "playwright-install"
63+
5564
test-e2e:
5665
deps:
5766
- ~:build

0 commit comments

Comments
 (0)