Skip to content

Commit

Permalink
feat: add deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrsxx committed Nov 8, 2023
1 parent 6dbd4d3 commit 1194732
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: 🚀 Deployment

on:
push:
branches: ['main']
pull_request:
branches: ['main']

jobs:
type-check:
name: ✅ Type Check
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Download deps
run: npm ci

- name: Check types
run: npm run type-check

eslint:
name: 🧪 ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Download deps
run: npm ci

- name: Lint
run: npm run lint

prettier:
name: 🔍 Prettier
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Download deps
run: npm ci

- name: Format
run: npm run format

jest:
name: 🃏 Jest
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Download deps
run: npm ci

- name: Test
run: npm run test:ci

0 comments on commit 1194732

Please sign in to comment.