ブロックスクリプトを追加

This commit is contained in:
x.yumoto.k 2023-07-25 15:16:03 +09:00
parent 07f1fc6d93
commit 004fc774dc

View File

@ -12,6 +12,15 @@ jobs:
- checkout: self
clean: true
fetchDepth: 1
- script: |
git fetch origin main:main
if git merge-base --is-ancestor $(Build.SourceVersion) main; then
echo "This commit is in the main branch."
else
echo "This commit is not in the main branch."
exit 1
fi
displayName: 'タグが付けられたCommitがdevelopブランチに存在するか確認'
- task: Npm@1
displayName: npm ci
inputs: