Skip to content

Commit

Permalink
Update build-and-deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Daewony authored Mar 19, 2024
1 parent 765d04c commit f7de9c1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v3 # workflow에서 액세스할 수 있도록 저장소를 체크아웃
- name: Cache node modules
id: node-cache
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-modules-
- name: Install dependencies
run: yarn install
Expand Down

0 comments on commit f7de9c1

Please sign in to comment.