[3팀 이현동] [Chapter 2-2] 디자인 패턴과 함수형 프로그래밍 #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request_target: | |
types: | |
- synchronize | |
- opened | |
- reopened | |
workflow_dispatch: | |
jobs: | |
basic: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: test basic | |
run: | | |
npm install | |
npm run test:basic | |
advacned: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: advanced-test | |
run: | | |
npm install | |
npm run test:advanced |