Feature/intro page : 최종 디자인 수정 #120
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: Check Build Possibility | |
on: | |
pull_request: | |
branches: ['main'] | |
jobs: | |
build-test: | |
runs-on: ubuntu-20.04 | |
env: | |
DISABLE_ESLINT_PLUGIN: true | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
node-version: '21.2.0' | |
- name: Install dependencies | |
run: npm install | |
- name: Create .env file | |
run: | | |
echo "REACT_APP_API_URL=${{ secrets.REACT_APP_API_URL }}" > .env | |
echo "REACT_APP_REST_API_KEY=${{ secrets.REACT_APP_REST_API_KEY }}" >> .env | |
echo "REACT_APP_REDIRECT_URI=${{ secrets.REACT_APP_REDIRECT_URI }}" >> .env | |
cat .env # .env 파일 내용 출력 | |
- name: Try build | |
run: | | |
npm run build |