Skip to content

Commit

Permalink
Maybe it'll better if we build the static site first
Browse files Browse the repository at this point in the history
  • Loading branch information
ramesaliyev committed Jul 27, 2024
1 parent 512b5e7 commit 8e74eb1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ jobs:
node-version: '20.x'
cache: 'npm'

# 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

# Build and test worker.
- name: Install dependencies
run: npm ci
Expand All @@ -32,14 +40,6 @@ jobs:
- name: Run tests
run: npm test

# 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

# Deploy to Cloudflare
- name: Deploy
uses: cloudflare/wrangler-action@v3
Expand Down

0 comments on commit 8e74eb1

Please sign in to comment.