모달 스타일 임시 수정 #381
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: 'test-lint-build' | |
on: | |
pull_request: | |
branches-ignore: | |
- 'main' | |
jobs: | |
test: | |
name: Test lint, build | |
runs-on: ubuntu-latest | |
env: | |
working-directory: ./client | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- name: Cache node modules | |
uses: actions/cache@v2 | |
id: cache | |
with: | |
path: node_modules | |
key: npm-packages-${{ hashFiles('**/package-lock.json') }} | |
- name: Generate Environment Variables File for Production | |
run: echo "NEXT_PUBLIC_OPEN_API=$NEXT_PUBLIC_OPEN_API" >> .env.production | |
working-directory: ${{ env.working-directory }} | |
env: | |
NEXT_PUBLIC_OPEN_API: ${{ secrets.NEXT_PUBLIC_OPEN_API }} | |
- name: Install Dependencies | |
run: yarn install | |
working-directory: ${{ env.working-directory }} | |
- run: yarn lint | |
if: ${{ always() }} | |
working-directory: ${{ env.working-directory }} | |
- run: yarn build | |
if: ${{ always() }} | |
working-directory: ${{ env.working-directory }} |