1
0
Fork 0
mirror of https://github.com/shimataro/ssh-key-action.git synced 2025-06-19 22:52:10 +10:00

exit if differ (#254)

This commit is contained in:
shimataro 2023-10-11 05:25:38 +09:00 committed by GitHub
parent 00676f1f60
commit 51874aa964
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,12 +12,12 @@ jobs:
strategy: strategy:
matrix: matrix:
os: os:
- Windows-2019 - windows-2019
- Windows-2022 - windows-2022
- macOS-11 - macos-11
- macOS-12 - macos-12
- Ubuntu-20.04 - ubuntu-20.04
- Ubuntu-22.04 - ubuntu-22.04
nodejs: nodejs:
- 16 - 16
fail-fast: false fail-fast: false
@ -34,5 +34,7 @@ jobs:
run: npm ci run: npm ci
- name: Build - name: Build
run: npm run build run: npm run build
- name: Exit if differ (forgot to commit dist dir?)
run: git diff --exit-code --quiet
- name: Verify - name: Verify
run: npm run verify run: npm run verify