Skip to content

Commit

Permalink
deploy: pnpm 설치 관련 script 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobbymin committed Nov 5, 2024
1 parent 52c8469 commit 16f5239
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'

- name: Install Pnpm package manager
run: |
npm install -g pnpm
- name: Install Dependencies
run: pnpm install
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,18 @@ jobs:
- name: Checkout source code.
uses: actions/checkout@master

- name: Install NodeJs & Pnpm package manager
uses: actions/setup-node@v4
- name: Cache node modules
uses: actions/cache@v4
with:
node-version: 22
cache: 'pnpm'
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-build-
${{ runner.OS }}-
- name: Install pnpm
run: |
npm install -g pnpm
- name: Create .env file
run: |
Expand Down

0 comments on commit 16f5239

Please sign in to comment.