23 lines
388 B
YAML
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 .
|