Try different approach to add node bin to PATH with npm bin being removed.

This commit is contained in:
Dillon Kearns 2023-02-20 11:08:14 -08:00
parent 19aae5e250
commit 6b37a52888

View File

@ -59,7 +59,7 @@ jobs:
- name: elm-tooling install - name: elm-tooling install
run: npx --no-install elm-tooling install run: npx --no-install elm-tooling install
- name: Add elm-review, elm and elm-format to path - name: Add elm-review, elm and elm-format to path
run: npm bin >> $GITHUB_PATH run: realpath node_modules/.bin >> $GITHUB_PATH
- uses: sparksp/elm-review-action@v1 - uses: sparksp/elm-review-action@v1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}