Skip to content

fix: change env example #3

fix: change env example

fix: change env example #3

Workflow file for this run

# https://github.com/kentcdodds/kentcdodds.com/blob/main/.github/workflows/deployment.yml
name: Code Check
on:
workflow_dispatch:
push:
branches:
- main
pull_request: {}
jobs:
lint:
name: ⬣ ESLint
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
- name: ⬇️ Checkout repo
uses: actions/checkout@v2
- name: ⎔ Setup node
uses: actions/setup-node@v2
with:
node-version: 18
- name: 📥 Download deps
uses: bahmutov/npm-install@v1
- name: 🔬 Lint
run: yarn lint
prettier:
name: 💅 Prettier
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
- name: ⬇️ Checkout repo
uses: actions/checkout@v2
- name: ⎔ Setup node
uses: actions/setup-node@v2
with:
node-version: 18
- name: 📥 Download deps
uses: bahmutov/npm-install@v1
- name: 🔎 Type check
run: yarn format
test:
name: 🤡 Jest Test
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
- name: ⬇️ Checkout repo
uses: actions/checkout@v2
- name: ⎔ Setup node
uses: actions/setup-node@v2
with:
node-version: 18
- name: 📥 Download deps
uses: bahmutov/npm-install@v1
- name: 🧪 Jest
run: yarn test