Skip to content

Commit

Permalink
Merge pull request #85 from dnd-side-project/feature/add-ci-caching
Browse files Browse the repository at this point in the history
Feature: CI과정에서 캐싱 기능 추가
  • Loading branch information
guesung authored Aug 14, 2024
2 parents e870385 + 8091c90 commit 0c5a91e
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,21 @@ jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@main
name: Checkout repository

- name: Cache dependencies
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('yarn.lock') }}
restore-keys: ${{ runner.os }}-nextjs-${{ hashFiles('yarn.lock') }}-

- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Check typescript
run: yarn type:check
- name: Check typescript
run: yarn run type:check

- name: Check eslint
run: yarn lint
- name: Check eslint
run: yarn run lint

0 comments on commit 0c5a91e

Please sign in to comment.