Merge pull request #61 from kkkkkSE/fix/sse #138
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: | |
push: | |
branches: | |
- dev | |
pull_request: | |
branches: | |
- dev | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18.x" | |
- name: npm nstall | |
run: npm ci | |
- name: lint | |
run: npm run lint | |
- name: compile to check syntax | |
run: npm run check | |
- name: run test | |
run: npx jest --verbose --coverage | |
- name: build | |
run: npm run build | |
- name: run E2E test | |
run: HEADLESS=true npm run ci | |