mirror of
https://github.com/Karaka-Management/cssOMS.git
synced 2026-02-11 23:38:40 +00:00
impl. npm cache
This commit is contained in:
parent
ad48bc0825
commit
4f19f91e33
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
|
@ -12,6 +12,15 @@ jobs:
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '12.x'
|
node-version: '12.x'
|
||||||
|
- name: Cache dependencies
|
||||||
|
id: npm-cache
|
||||||
|
run: |
|
||||||
|
echo "::set-output name=dir::$(npm config get cache)"
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ${{ steps.npm-cache.outputs.dir }}
|
||||||
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
|
restore-keys: ${{ runner.os }}-node
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Compile CSS
|
- name: Compile CSS
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user