2020-08-10 08:56:41 +00:00
|
|
|
name: Fixes (sanity and consistency) - Dry run
|
2020-07-28 05:41:11 +00:00
|
|
|
on:
|
2020-08-08 21:01:45 +00:00
|
|
|
pull_request:
|
|
|
|
branches: [master]
|
2020-07-28 05:41:11 +00:00
|
|
|
jobs:
|
2020-08-10 08:56:41 +00:00
|
|
|
fix-all-dryrun:
|
2020-07-28 05:41:11 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-08-07 09:29:42 +00:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
node-version: 12
|
|
|
|
- name: Install Dependencies
|
|
|
|
run: npm ci
|
|
|
|
- name: Run fix script
|
|
|
|
run: npm run fix
|
2020-08-07 08:56:27 +00:00
|
|
|
- name: Show fix result (diff); run 'npm run fix' locally
|
|
|
|
run: |
|
|
|
|
git status
|
|
|
|
git diff
|
2020-08-07 09:29:42 +00:00
|
|
|
- name: Run check
|
|
|
|
run: npm run check
|
|
|
|
- name: Run test
|
|
|
|
run: npm t
|