Skip to content

Commit

Permalink
✨ workflow 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
oaoong committed Nov 3, 2023
1 parent bb13bce commit cdb1b32
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@ jobs:
cache: 'npm'
cache-dependency-path: ./pnpm-lock.yaml

- uses: pnpm/action-setup@v2
with:
version: 8

# package.json에 명시된 의존성을 설치합니다.
- name: Install Dependencies
run: npm install
run: pnpm install

# 아래 단계에서 .env 파일을 생성하고 시크릿 값을 설정합니다.
- name: Set Environment Variables
Expand All @@ -46,11 +50,11 @@ jobs:
# 빌드를 수행합니다.
- name: Build
run: npm run build
run: pnpm build

# 테스트를 수행합니다.
- name: Run tests
run: npm run test
run: pnpm test

- name: if_fail
uses: actions/github-script@v4
Expand Down

0 comments on commit cdb1b32

Please sign in to comment.