Skip to content

Commit df418d6

Browse files
committed
build: remove changelog task
1 parent dd31b5b commit df418d6

2 files changed

Lines changed: 34 additions & 40 deletions

File tree

apps/extension/moon.yml

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,44 @@
1-
language: 'typescript'
2-
layer: 'application'
3-
tags: ['chrome-extension']
1+
language: "typescript"
2+
layer: "application"
3+
tags: ["chrome-extension"]
44

55
tasks:
66
ensure-deps:
7-
command: 'pnpm install'
7+
command: "pnpm install"
88
inputs:
9-
- '/pnpm-lock.yaml'
10-
- '/pnpm-workspace.yaml'
11-
- 'package.json'
9+
- "/pnpm-lock.yaml"
10+
- "/pnpm-workspace.yaml"
11+
- "package.json"
1212
outputs:
13-
- 'node_modules'
13+
- "node_modules"
1414
options:
1515
cache: true
1616
build:
17-
command: 'pnpm'
18-
args: ['run', 'build']
17+
command: "pnpm"
18+
args: ["run", "build"]
1919
deps:
2020
- ~:ensure-deps
2121
- analysis:build
2222
build-firefox:
23-
command: 'pnpm'
24-
args: ['run', 'build:firefox']
23+
command: "pnpm"
24+
args: ["run", "build:firefox"]
2525
deps:
2626
- ~:ensure-deps
2727
- analysis:build
2828
test-unit:
29-
command: 'pnpm'
30-
args: ['run', 'test:unit']
29+
command: "pnpm"
30+
args: ["run", "test:unit"]
3131
deps:
3232
- ~:ensure-deps
3333
compile:
3434
options:
3535
runInCI: false
36-
changelog:
37-
script: |
38-
VERSION=$(grep '"version"' package.json | head -1 | sed -E 's/.*"version":[[:space:]]*"(.*)".*/\1/') && git-cliff --unreleased --tag "$VERSION" --include-path apps/extension/** --config ../../cliff.toml --prepend CHANGELOG.md
39-
options:
40-
runInCI: false
41-
4236
bump:
4337
script: |
44-
bash ../../scripts/bump.sh "@job-hunting/extension" "package.json" "--include-path apps/extension/** --include-path libs/analysis/**"
38+
bash ../../scripts/bump.sh \
39+
"@job-hunting/extension" \
40+
"package.json" \
41+
"--include-path apps/extension/** --include-path libs/analysis/**"
4542
options:
4643
runInCI: false
4744
zip:
@@ -51,10 +48,10 @@ tasks:
5148
options:
5249
runInCI: false
5350
install-playwright:
54-
command: 'pnpm exec playwright install --with-deps'
51+
command: "pnpm exec playwright install --with-deps"
5552
options:
5653
cache: false
57-
mutex: 'playwright-install'
54+
mutex: "playwright-install"
5855
test-e2e:
5956
deps:
6057
- ~:build

apps/server/moon.yml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,46 @@
1-
language: 'rust'
2-
tags: ['backend']
1+
language: "rust"
2+
tags: ["backend"]
33

44
tasks:
5-
changelog:
6-
script: |
7-
VERSION=$(grep -oE '[0-9]+\.[0-9]+\.[0-9]+' Cargo.toml) && git-cliff --unreleased --tag "$VERSION" --include-path apps/server/** --include-path apps/server-ui/** --config ../../cliff.toml --prepend CHANGELOG.md
8-
options:
9-
runInCI: false
10-
115
bump:
126
script: |
13-
bash ../../scripts/bump.sh "job-hunting-server" "Cargo.toml" "--include-path apps/server/** --include-path apps/server-ui/**"
7+
bash ../../scripts/bump.sh \
8+
"job-hunting-server" \
9+
"Cargo.toml" \
10+
"--include-path apps/server/** --include-path apps/server-ui/**"
1411
options:
1512
runInCI: false
1613

1714
format:
18-
command: 'cargo fmt --check'
15+
command: "cargo fmt --check"
1916

2017
check:
21-
command: 'cargo check --package job-hunting-server'
18+
command: "cargo check --package job-hunting-server"
2219

2320
build:
24-
command: 'cargo build --package job-hunting-server'
25-
outputs: ['/target/debug/job-hunting-server']
21+
command: "cargo build --package job-hunting-server"
22+
outputs: ["/target/debug/job-hunting-server"]
2623
deps:
2724
- ~:check
2825

2926
lint:
30-
command: 'cargo clippy --workspace -- -D warnings'
27+
command: "cargo clippy --workspace -- -D warnings"
3128
deps:
3229
- ~:check
3330

3431
test:
35-
command: 'cargo test --package job-hunting-server'
32+
command: "cargo test --package job-hunting-server"
3633
deps:
3734
- ~:build
3835

3936
run:
40-
command: 'cargo run --package job-hunting-server -- --config=application.toml'
37+
command: "cargo run --package job-hunting-server -- --config=application.toml"
4138
options:
4239
persistent: true
4340
cache: false
4441

4542
dev:
46-
command: 'cargo run --package job-hunting-server -- --config=application-dev.toml'
43+
command: "cargo run --package job-hunting-server -- --config=application-dev.toml"
4744
options:
4845
persistent: true
4946
cache: false

0 commit comments

Comments
 (0)