Skip to content

[1팀 김휘린] Chapter 3-1. 프론트엔드 테스트 코드 #101

[1팀 김휘린] Chapter 3-1. 프론트엔드 테스트 코드

[1팀 김휘린] Chapter 3-1. 프론트엔드 테스트 코드 #101

Workflow file for this run

name: CI
on:
pull_request_target:
types:
- synchronize
- opened
- reopened
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: test basic
run: |
pnpm install
pnpm run lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: test basic
run: |
pnpm install
pnpm run test