fixed github action cache
This commit is contained in:
parent
f9347dec28
commit
c62dcce0e6
3 changed files with 12495 additions and 4 deletions
4
.github/workflows/firebase-hosting-merge.yml
vendored
4
.github/workflows/firebase-hosting-merge.yml
vendored
|
@ -12,8 +12,8 @@ jobs:
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
- uses: actions/cache@main
|
- uses: actions/cache@main
|
||||||
with:
|
with:
|
||||||
path: "**/node_modules"
|
path: "source/node_modules"
|
||||||
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-modules-${{ hashFiles('source/yarn.lock') }}
|
||||||
- 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
|
||||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -2,8 +2,6 @@
|
||||||
_/
|
_/
|
||||||
|
|
||||||
# auto generated files
|
# auto generated files
|
||||||
yarn.lock
|
|
||||||
package-lock.json
|
|
||||||
posts.json
|
posts.json
|
||||||
posts/
|
posts/
|
||||||
|
|
||||||
|
|
12493
source/yarn.lock
Normal file
12493
source/yarn.lock
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue