mirror of
https://github.com/Karaka-Management/cssOMS.git
synced 2026-01-22 07:18:41 +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
|
||||
with:
|
||||
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
|
||||
run: npm ci
|
||||
- name: Compile CSS
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user