feat: 토큰 만료 후 인증이 필요한 서비스에 접근시 자동 로그아웃 되는 기능을 구현한다 #32
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: frontend-test | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
paths: | |
- frontend/** | |
- .github/** | |
permissions: | |
contents: read | |
jobs: | |
test: | |
name: test-when-pull-request | |
runs-on: ubuntu-latest | |
environment: test | |
defaults: | |
run: | |
working-directory: ./frontend | |
steps: | |
- name: Checkout PR | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: npm install | |
- name: Test | |
run: npm run test |