Skip to content

Merge pull request #181 from swapnilsarwe/gocomics-dec-updates #101

Merge pull request #181 from swapnilsarwe/gocomics-dec-updates

Merge pull request #181 from swapnilsarwe/gocomics-dec-updates #101

Workflow file for this run

name: Node.js CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Installing NPM dependencies
run: npm install
- name: Formatting the json files
run: npm run format --if-present
- name: Stage Files
run: git add .
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git diff-index --quiet HEAD || git commit -m "formatted files for merge request"
- name: Publish the formatted changes
run: git push -f
env:
CI: true