Skip to content

Commit

Permalink
Added node_modules cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
hubuk committed Oct 28, 2021
1 parent 906de72 commit ee22e59
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@ jobs:
- name: Fetch tag
run: git fetch --tags

- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ./node_modules
key: ${{ env.cache-name }}-${{ hashFiles('./yarn.json') }}
restore-keys: |
${{ env.cache-name }}-
- name: Build And Deploy
uses: Azure/static-web-apps-deploy@v1
with:
Expand Down

0 comments on commit ee22e59

Please sign in to comment.