Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Commit

Permalink
build(ci): 🔧 run tests on ci before deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
AkashRajpurohit committed Mar 2, 2024
1 parent 60cc475 commit fb6287e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy-to-cf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- main
workflow_dispatch:


concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -48,9 +47,12 @@ jobs:
- name: Install dependencies ⏬
run: pnpm install

- name: Run tests 🧪
run: pnpm test:coverage

# Deploy
- name: Deploy 🚀
run: yarn deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}

0 comments on commit fb6287e

Please sign in to comment.