Skip to content

test: 로그인 e2e테스트 도입 #229

test: 로그인 e2e테스트 도입

test: 로그인 e2e테스트 도입 #229

Workflow file for this run

name: CI
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
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: npm install
- run: npm run 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: npm install
- run: CI='false' npm run build
test:
name: Test
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: npm install
- run: npm run test