페이지 기능: 마이페이지 api 기능 #212
Workflow file for this run
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: | |
branches: | |
- main | |
- develop | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create .env file | |
run: | | |
touch .env.local | |
echo "${{ secrets.ENV_DEVELOPMENT }}" > .env.local | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- run: yarn install | |
- run: yarn lint | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create .env file | |
run: | | |
touch .env.local | |
echo "${{ secrets.ENV_DEVELOPMENT }}" > .env.local | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- run: yarn install | |
- run: CI='false' yarn build | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create .env file | |
run: | | |
touch .env.local | |
echo "${{ secrets.ENV_DEVELOPMENT }}" > .env.local | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- run: yarn install | |
- run: yarn test |