Run elm-review through CLI instead of action.

This commit is contained in:
Dillon Kearns 2023-01-07 15:27:33 -08:00
parent 8f34381954
commit 7301530495

View File

@ -64,9 +64,12 @@ jobs:
run: npm run build:generator
- name: Tests
run: npm test
- uses: sparksp/elm-review-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: elm-review
run: npx elm-review
# TODO - this is giving stale errors somehow, could it be because of the DeadCodeEliminate codemods?
# - uses: sparksp/elm-review-action@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: elm-format
run: npx --no-install elm-format --validate src/ generator/src
- name: Build elm docs