Skip to content

chore: fix jest command and add testing library to devDep #154

chore: fix jest command and add testing library to devDep

chore: fix jest command and add testing library to devDep #154

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install dependencies
run: yarn install
# - name: Lint
# run: yarn eslint --ext .js,.jsx src
# - name: Run unit tests
# run: npm run test:unit
- name: Build
run: |
yarn run build:prod
cp dist/index.html dist/404.html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
publish_branch: gh-pages