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:
parent
00676f1f60
commit
51874aa964
1 changed files with 8 additions and 6 deletions
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue