github-readme-stats/.github/workflows/test.yml
Steven 4c2307ab4b
Add prettier check to CI (#1999)
* Add prettier check to CI

* Run prettier:format
2022-09-06 09:09:45 +02:00

34 lines
529 B
YAML

name: Test
on:
push:
branches:
- "*"
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Install & Test
run: |
npm install
npm run test
- name: Run Prettier
run: |
npm run prettier:check:ci
- name: Code Coverage
uses: codecov/codecov-action@v1