fix: 데이터타입 구조분해 할당 #525
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: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create .env file | |
run: | | |
touch .env | |
echo "${{ secrets.ENV_DEVELOPMENT }}" > .env | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- run: yarn | |
- run: yarn lint | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create .env file | |
run: | | |
touch .env | |
echo "${{ secrets.ENV_DEVELOPMENT }}" > .env | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- run: yarn | |
- run: CI='false' yarn build |