action-demo/.gitea/workflows/cache-npx.yml
huanghs a9a1918974
Some checks failed
Gitea Actions Demo / build-docker (push) Has been cancelled
Gitea Actions Demo / setup (push) Failing after 4m19s
Gitea Actions Demo / test (push) Has been skipped
Gitea Actions Demo / build (push) Has been skipped
Cache Npx / task (push) Successful in 23s
更新 .gitea/workflows/cache-npx.yml
2024-07-30 14:39:22 +08:00

23 lines
388 B
YAML

name: Cache Npx
on: [push]
jobs:
task:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- run: npm config get cache
- run: echo ~
- run: pwd
- name: Cache Gradle Wrapper
uses: actions/cache@v3
with:
path: /root/.npm/_npx
key: ${{ runner.os }}-npx
- run: npx cloc .