2020-07-29 13:42:51 +00:00
|
|
|
name: Fixes and Consistency Updates - Dry run
|
2020-07-28 05:41:11 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- '*'
|
|
|
|
- '!master'
|
|
|
|
pull_request:
|
|
|
|
branches: [master]
|
|
|
|
jobs:
|
2020-07-29 13:42:51 +00:00
|
|
|
scripts:
|
2020-07-28 05:41:11 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
node-version: 12
|
|
|
|
- name: Install Dependencies
|
|
|
|
run: npm ci
|
2020-07-29 13:42:51 +00:00
|
|
|
- name: Run fix script
|
|
|
|
run: npm run fix
|
2020-08-05 10:59:39 +00:00
|
|
|
- name: Show fix result (diff); run 'npm run fix' locally
|
2020-07-29 13:42:51 +00:00
|
|
|
if: success()
|
2020-07-28 05:41:11 +00:00
|
|
|
run: git status
|
|
|
|
- name: Run test
|
|
|
|
run: npm t
|
2020-07-29 13:42:51 +00:00
|
|
|
|