mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-23 02:58:22 +09:00
5079a4b7dd
* fix(misskey-js): バージョンチェックのトリガー条件を修正 * chore(misskey-js): 2024.2.0-beta.8
29 lines
760 B
YAML
29 lines
760 B
YAML
name: Check Misskey JS version
|
|
|
|
on:
|
|
push:
|
|
branches: [ develop ]
|
|
paths:
|
|
- packages/misskey-js/package.json
|
|
- package.json
|
|
pull_request:
|
|
branches: [ develop ]
|
|
paths:
|
|
- packages/misskey-js/package.json
|
|
- package.json
|
|
|
|
jobs:
|
|
check-version:
|
|
# ルートの package.json と packages/misskey-js/package.json のバージョンが一致しているかを確認する
|
|
name: Check version
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4.1.1
|
|
- name: Check version
|
|
run: |
|
|
if [ "$(jq -r '.version' package.json)" != "$(jq -r '.version' packages/misskey-js/package.json)" ]; then
|
|
echo "Version mismatch!"
|
|
exit 1
|
|
fi
|