Skip to content

update eslint config #33

update eslint config

update eslint config #33

Workflow file for this run

name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: ⏬ Checkout code
uses: actions/checkout@v3
- name: ⏬ Enable Corepack
run: corepack enable
- name: 🔢 Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: ⏬ Install
run: |
yarn
- name: ✨ Lint
run: |
yarn lint
- name: 🧪 Test
run: |
yarn test
- name: 🛠 Build Client
run: |
cd client
yarn build
- name: ⚛ Deploy Client
if: ${{ github.ref == 'refs/heads/main' }}
uses: JamesIves/[email protected]
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: client/dist