Move cache env vars to workflow level, remove debug step
All checks were successful
CI / lint-and-test (push) Successful in 35s
CI / build (push) Successful in 20s

Move PNPM_STORE_DIR and COREPACK_HOME to workflow-level env
which may propagate differently than job-level in act_runner.
This commit is contained in:
Julia McGhee
2026-03-21 17:48:59 +00:00
parent 1ef3383ba1
commit dc46f8c54a
3 changed files with 12 additions and 22 deletions

View File

@@ -10,12 +10,13 @@ concurrency:
group: ${{ gitea.workflow }}-${{ gitea.ref }}
cancel-in-progress: true
env:
PNPM_STORE_DIR: /pnpm-store
COREPACK_HOME: /pnpm-store/.corepack
jobs:
lint-and-test:
runs-on: ubuntu-latest
env:
PNPM_STORE_DIR: /pnpm-store
COREPACK_HOME: /pnpm-store/.corepack
steps:
- uses: actions/checkout@v4
@@ -28,9 +29,6 @@ jobs:
build:
needs: [lint-and-test]
runs-on: ubuntu-latest
env:
PNPM_STORE_DIR: /pnpm-store
COREPACK_HOME: /pnpm-store/.corepack
steps:
- uses: actions/checkout@v4
with: