Skip to content

Commit

Permalink
try to install earlier in process
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Feb 8, 2024
1 parent c931904 commit 8fe565d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy_worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
cache: 'npm' # This tells the setup-node action to cache npm dependencies

- name: Install dependencies
run: npm ci --include=optional
run: npm install @nx/nx-linux-x64-gnu && npm ci --include=optional

- uses: actions/checkout@v3
- name: Deploy
working-directory: packages/worker # Specifies the directory where the npm command should be run
# run npx wrangler publish
run: npm install @nx/nx-linux-x64-gnu && CLOUDFLARE_ACCOUNT_ID=${{ secrets.CLOUDFLARE_ACCOUNT_ID }} CLOUDFLARE_API_TOKEN=${{ secrets.CLOUDFLARE_API_TOKEN }} npx wrangler deploy
run: CLOUDFLARE_ACCOUNT_ID=${{ secrets.CLOUDFLARE_ACCOUNT_ID }} CLOUDFLARE_API_TOKEN=${{ secrets.CLOUDFLARE_API_TOKEN }} npx wrangler deploy

0 comments on commit 8fe565d

Please sign in to comment.