[11팀 박근백] [Chapter 1-3] React, Beyond the Basics #2
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: External Test | |
on: | |
pull_request: | |
types: | |
- synchronize | |
- opened | |
- reopened | |
workflow_dispatch: | |
jobs: | |
external: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: external-test | |
run: | | |
npm install | |
npm run test:external | |
enhanced: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: enhanced-test | |
run: | | |
npm install | |
npm run test:enhanced |