Skip to content

Commit

Permalink
Github action take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
robsimmons committed Nov 9, 2023
1 parent 7fd98be commit 2f59e9d
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,20 @@ jobs:
- run: npm ci
- run: npm run coverage
- uses: coverallsapp/github-action@v2
with:
- name: Set up Node
uses: actions/setup-node@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: echo 'pretty_files=' **/*.{json,md,?s,?sx} >> "$GITHUB_ENV"
- run: echo "$pretty_files"
- run: npm ci
- run: ./node_modules/.bin/prettier -l "$pretty_files"
- uses: actions/checkout@v3
- uses: actionsx/prettier@v3
with:
args: --check .

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci
- run: npm run lint

0 comments on commit 2f59e9d

Please sign in to comment.