Skip to content

refactor(user-account): deprecate redundant state provider #147

refactor(user-account): deprecate redundant state provider

refactor(user-account): deprecate redundant state provider #147

Workflow file for this run

# .github/workflows/code-health.yml
name: Code health checks # name of the action (displayed in the github interface)
on: # event list
pull_request: # on a pull request to each of these branches
branches:
- main
env: # environment variables (available in any part of the action)
NODE_VERSION: 20
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }}
jobs: # list of things to do
typecheck:
name: Type Check # job name (unique id)
runs-on: ubuntu-latest # on which machine to run
steps: # list of steps
- name: Install NodeJS
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- name: Code Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: yarn install
- name: Type Checking
run: yarn typecheck
linting:
name: Linting # job name (unique id)
runs-on: ubuntu-latest # on which machine to run
steps: # list of steps
- name: Install NodeJS
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- name: Code Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: yarn install
- name: Code Linting
run: yarn eslint:check
formatting:
name: Formatting # job name (unique id)
runs-on: ubuntu-latest # on which machine to run
steps: # list of steps
- name: Install NodeJS
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- name: Code Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: yarn install
- name: Code Formatting
run: yarn prettier:check
testing:
name: Testing # job name (unique id)
runs-on: ubuntu-latest # on which machine to run
steps: # list of steps
- name: Install NodeJS
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- name: Code Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: yarn install
- name: Unit Tests
run: yarn test