add packages cache for github action
This commit is contained in:
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
@@ -10,8 +10,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout"
|
- uses: actions/checkout@v3
|
||||||
uses: actions/checkout@v3
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
cache: 'yarn'
|
||||||
- name: "Install Dependencies"
|
- name: "Install Dependencies"
|
||||||
run: yarn
|
run: yarn
|
||||||
- name: Deploy with gh-pages
|
- name: Deploy with gh-pages
|
||||||
|
|||||||
Reference in New Issue
Block a user