potntial fix for gh deploy action
This commit is contained in:
parent
dcd415a246
commit
bc10d33cb2
1 changed files with 9 additions and 2 deletions
11
.github/workflows/firebase-hosting-deploy.yml
vendored
11
.github/workflows/firebase-hosting-deploy.yml
vendored
|
@ -10,10 +10,17 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
- uses: actions/cache@main
|
- name: Cache node modules
|
||||||
|
uses: actions/cache@v2
|
||||||
|
env:
|
||||||
|
cache-name: cache-node-modules
|
||||||
with:
|
with:
|
||||||
path: "source/node_modules"
|
path: "source/node_modules"
|
||||||
key: ${{ runner.os }}-modules-${{ hashFiles('source/yarn.lock') }}
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('source/yarn.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-build-${{ env.cache-name }}-
|
||||||
|
${{ runner.os }}-build-
|
||||||
|
${{ runner.os }}-
|
||||||
- name: Install Dependencies and Build
|
- name: Install Dependencies and Build
|
||||||
run: cd source && yarn install && yarn build
|
run: cd source && yarn install && yarn build
|
||||||
- name: Archive Production Artifact
|
- name: Archive Production Artifact
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue