Try running elm-review before codemods.

This commit is contained in:
Dillon Kearns 2023-01-07 15:36:35 -08:00
parent 921b5504e0
commit a9c9b69031

View File

@ -60,16 +60,13 @@ jobs:
run: npx --no-install elm-tooling install
- name: Add elm-review, elm and elm-format to path
run: npm bin >> $GITHUB_PATH
- uses: sparksp/elm-review-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build Generator
run: npm run build:generator
- name: Tests
run: npm test
- 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