mirror of
https://github.com/theoludwig/react-component-form.git
synced 2024-07-17 07:30:13 +02:00
ci: fix nodejs caching
This commit is contained in:
parent
75221c24f6
commit
f8f655a6af
13
.github/workflows/node.js.yml
vendored
13
.github/workflows/node.js.yml
vendored
@ -16,6 +16,12 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: 'Cache dependencies'
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
**/node_modules
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v2.1.2
|
||||
with:
|
||||
@ -26,10 +32,3 @@ jobs:
|
||||
|
||||
- name: 'Run the tests'
|
||||
run: npm test
|
||||
|
||||
- name: 'Cache dependencies'
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
**/node_modules
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
|
||||
|
Loading…
Reference in New Issue
Block a user