Compare commits
No commits in common. "18f8d7d2c84ece6e8fedf994e3e2690bc6812146" and "cf84de2cdf1533c77a90d5262f2a6a9ad895d18e" have entirely different histories.
18f8d7d2c8
...
cf84de2cdf
7 changed files with 288 additions and 305 deletions
|
@ -8,4 +8,3 @@
|
||||||
/.vscode/
|
/.vscode/
|
||||||
client
|
client
|
||||||
common
|
common
|
||||||
pnpm-lock.yaml
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ steps:
|
||||||
image: *node_image
|
image: *node_image
|
||||||
commands:
|
commands:
|
||||||
- <<: *enable_pnpm
|
- <<: *enable_pnpm
|
||||||
- git fetch origin ${CI_COMMIT_TARGET_BRANCH}
|
- git fetch
|
||||||
- pnpm exec commitlint --from origin/${CI_COMMIT_TARGET_BRANCH}
|
- pnpm exec commitlint --from origin/${CI_COMMIT_TARGET_BRANCH}
|
||||||
when:
|
when:
|
||||||
event: pull_request
|
event: pull_request
|
||||||
|
|
|
@ -9,20 +9,6 @@ variables:
|
||||||
- &enable_pnpm
|
- &enable_pnpm
|
||||||
- corepack enable
|
- corepack enable
|
||||||
- corepack prepare pnpm@latest --activate
|
- corepack prepare pnpm@latest --activate
|
||||||
- &is_latest_channel
|
|
||||||
evaluate: CI_COMMIT_TAG matches "^[0-9]+\\\\.[0-9]+\\\\.[0-9]+$"
|
|
||||||
- &is_beta_channel
|
|
||||||
evaluate: CI_COMMIT_TAG matches "^[0-9]+\\\\.[0-9]+\\\\.[0-9]+-[0-9]+$"
|
|
||||||
- &release_plugin woodpeckerci/plugin-gitea-release
|
|
||||||
- &release_base_settings
|
|
||||||
base_url: ${CI_FORGE_URL}
|
|
||||||
title: ${CI_COMMIT_TAG}
|
|
||||||
note: CHANGELOG.md
|
|
||||||
files:
|
|
||||||
- ${CI_REPO_NAME}.zip
|
|
||||||
- ${CI_REPO_NAME}/system.json
|
|
||||||
api_key:
|
|
||||||
from_secret: forge_token
|
|
||||||
|
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
@ -65,27 +51,25 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- echo latest > .RELEASE_CHANNEL
|
- echo latest > .RELEASE_CHANNEL
|
||||||
when:
|
when:
|
||||||
<<: *is_latest_channel
|
evaluate: CI_COMMIT_TAG matches "^[0-9]+\\\\.[0-9]+\\\\.[0-9]+$"
|
||||||
choose-beta-channel:
|
choose-beta-channel:
|
||||||
group: prepare-release
|
group: prepare-release
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
commands:
|
commands:
|
||||||
- echo beta > .RELEASE_CHANNEL
|
- echo beta > .RELEASE_CHANNEL
|
||||||
when:
|
when:
|
||||||
<<: *is_beta_channel
|
evaluate: CI_COMMIT_TAG matches "^[0-9]+\\\\.[0-9]+\\\\.[0-9]+-[0-9]+$"
|
||||||
release-latest:
|
release:
|
||||||
image: *release_plugin
|
image: woodpeckerci/plugin-gitea-release
|
||||||
settings:
|
settings:
|
||||||
<<: *release_base_settings
|
base_url: ${CI_FORGE_URL}
|
||||||
when:
|
title: ${CI_COMMIT_TAG}
|
||||||
<<: *is_latest_channel
|
note: CHANGELOG.md
|
||||||
release-beta:
|
files:
|
||||||
image: *release_plugin
|
- ${CI_REPO_NAME}.zip
|
||||||
settings:
|
- ${CI_REPO_NAME}/system.json
|
||||||
<<: *release_base_settings
|
api_key:
|
||||||
prerelease: true
|
from_secret: forge_token
|
||||||
when:
|
|
||||||
<<: *is_beta_channel
|
|
||||||
publish-manifest:
|
publish-manifest:
|
||||||
group: publish
|
group: publish
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
|
@ -111,4 +95,4 @@ steps:
|
||||||
- fvtt_username
|
- fvtt_username
|
||||||
- fvtt_password
|
- fvtt_password
|
||||||
when:
|
when:
|
||||||
<<: *is_latest_channel
|
evaluate: CI_COMMIT_TAG matches "^[0-9]+\\\\.[0-9]+\\\\.[0-9]+$"
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
"eslint": "eslint --ext .ts,.js,.cjs,.mjs .",
|
"eslint": "eslint --ext .ts,.js,.cjs,.mjs .",
|
||||||
"format": "pnpm prettier --write",
|
"format": "pnpm prettier --write",
|
||||||
"format:check": "pnpm prettier --check",
|
"format:check": "pnpm prettier --check",
|
||||||
"prettier": "prettier \"./**/*.(ts|js|cjs|mjs|json|scss|yml|yaml)\"",
|
"prettier": "prettier \"./**/*.(ts|js|cjs|mjs|json|scss|yml)\"",
|
||||||
"test": "run-p test:vitest test:typecheck",
|
"test": "run-p test:vitest test:typecheck",
|
||||||
"test:vitest": "vitest run",
|
"test:vitest": "vitest run",
|
||||||
"test:typecheck": "tsc --noEmit --project spec/tsconfig.json",
|
"test:typecheck": "tsc --noEmit --project spec/tsconfig.json",
|
||||||
|
|
Loading…
Reference in a new issue