2024.3.1 #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |