mirror of
https://github.com/starship/starship.git
synced 2026-06-24 02:01:36 +07:00
ci: add caching for docs publishing step
This commit is contained in:
@@ -8,14 +8,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Setup | Checkout
|
- name: Setup | Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
|
||||||
# Required to include the recently merged Crowdin PR
|
|
||||||
ref: master
|
|
||||||
|
|
||||||
- name: Setup | Node
|
- name: Setup | Node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
|
cache: 'npm'
|
||||||
|
cache-dependency-path: docs/package-lock.json
|
||||||
|
|
||||||
- name: Setup | Install dependencies
|
- name: Setup | Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|||||||
Reference in New Issue
Block a user