Skip to content

Commit

Permalink
v2.1.0 Re-factor code to use monorepo architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
ramesaliyev committed Jul 27, 2024
1 parent c3a5b36 commit 36c5320
Show file tree
Hide file tree
Showing 103 changed files with 6,649 additions and 4,323 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,13 @@ jobs:
cache: 'npm'

# Run Pre-Deploy
- name: Install dependencies
run: npm ci
- name: Run pre-deploy
run: npm run pre-deploy

# Build the site
- name: Run site npm install
working-directory: site
run: npm ci
- name: Run site build
working-directory: site
run: npm run build

# Run TypeScript error checking and tests
- name: Run TypeScript error checking
run: npm run ts-errcheck
- name: Run tests
run: npm test
- name: Pre-Deploy
run: WORKER_ENV=${{env.WORKER_ENV}} node tools/pre-deploy

# Deploy to Cloudflare
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{secrets.CLOUDFLARE_API_TOKEN}}
environment: ${{env.WORKER_ENV}}
workingDirectory: "packages/worker"
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.DS_Store
.wrangler/
node_modules/
.wrangler
node_modules
dist
coverage
.env
20 changes: 0 additions & 20 deletions README_TEST.md

This file was deleted.

Loading

0 comments on commit 36c5320

Please sign in to comment.