update: clock version #35
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
# https://github.com/kentcdodds/kentcdodds.com/blob/main/.github/workflows/deployment.yml | |
name: Code Check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
concurrency: | |
group: ${{ github.job }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
# lint: | |
# name: ⬣ ESLint | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: β¬οΈ Checkout repo | |
# uses: actions/checkout@v2 | |
# - name: β Setup node | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: 16 | |
# - name: π₯ Download deps | |
# uses: bahmutov/npm-install@v1 | |
# - name: π¬ Lint | |
# run: yarn lint:strict | |
# typecheck: | |
# name: Κ¦ TypeScript | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: β¬οΈ Checkout repo | |
# uses: actions/checkout@v2 | |
# - name: β Setup node | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: 16 | |
# - name: π₯ Download deps | |
# uses: bahmutov/npm-install@v1 | |
# - name: π Type check | |
# run: yarn typecheck | |
# prettier: | |
# name: π Prettier | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: β¬οΈ Checkout repo | |
# uses: actions/checkout@v2 | |
# - name: β Setup node | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: 16 | |
# - name: π₯ Download deps | |
# uses: bahmutov/npm-install@v1 | |
# - name: π Prettier check | |
# run: yarn format:check | |
test: | |
name: π Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: β¬οΈ Checkout repo | |
uses: actions/checkout@v2 | |
- name: β Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: π₯ Download deps | |
uses: bahmutov/npm-install@v1 | |
- name: π Run jest | |
run: yarn test |