diff --git a/.forgejo/workflows/jtex.yml b/.forgejo/workflows/jtex.yml index a45e0ac..6b4b18e 100644 --- a/.forgejo/workflows/jtex.yml +++ b/.forgejo/workflows/jtex.yml @@ -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