tmpfs

Tasks that perform significant reads or writes to the filesystem—and whose files fit within approximately 70% of the available free memory—are likely to benefit from using tmpfs.

Tasks can opt-into using tmpfs by setting the tmpfs to true within the agent specification.

tasks:
  - key: pnpm-install
    use: [code, install-pnpm, system-packages]
    agent:
      tmpfs: true
    run: pnpm install --frozen-lockfile
    filter:
      - .npmrc
      - pnpm-lock.yaml
      - pnpm-workspace.yaml
      - package.json
      - packages/*/package.json