Update jtex workflow to use local npm installation path

This commit is contained in:
Edgar P. Burkhart 2025-02-28 10:48:27 +01:00
parent 7130905945
commit 1e1e1e65e2
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -4,9 +4,6 @@ on:
branches: [main]
pull_request:
branches: [main]
env:
PATH: "$HOME/.local/bin:$PATH"
npm_config_prefix: "$HOME/.local"
jobs:
test:
name: test template.yml
@ -14,5 +11,5 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm install -g jtex
- run: jtex check
- run: npm install -g jtex --prefix ./.local
- run: ./.local/bin/jtex check