mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-05 21:07:52 +00:00
ci: add caching for docs publishing step
This commit is contained in:
parent
65e1b988a4
commit
1447957e97
5
.github/workflows/publish-docs.yml
vendored
5
.github/workflows/publish-docs.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user