Skip to content

๐ŸŽจ

๐ŸŽจ #22

name: Check Misskey JS version
on:
push:
branches: [ develop ]
paths:
- packages/misskey-js/package.json
- package.json
- .github/workflows/check-misskey-js-version.yml
pull_request:
branches: [ develop ]
paths:
- packages/misskey-js/package.json
- package.json
- .github/workflows/check-misskey-js-version.yml
jobs:
check-version:
# ใƒซใƒผใƒˆใฎ package.json ใจ packages/misskey-js/package.json ใฎใƒใƒผใ‚ธใƒงใƒณใŒไธ€่‡ดใ—ใฆใ„ใ‚‹ใ‹ใ‚’็ขบ่ชใ™ใ‚‹
name: Check version
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- 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