Skip to content

chore(deps): update dependency wrangler to v3.68.0 #434

chore(deps): update dependency wrangler to v3.68.0

chore(deps): update dependency wrangler to v3.68.0 #434

Workflow file for this run

name: Deploy to Cloudflare Workers
on: [push, workflow_dispatch]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-and-deploy:
runs-on: ubuntu-latest
name: Test and deploy
steps:
- uses: actions/checkout@v4
# Setup the project
- name: Use Node.js πŸ”₯
uses: actions/setup-node@v4
with:
node-version: 16
cache: 'yarn'
- name: Install Dependencies πŸ”½
run: yarn install --frozen-lockfile
# Run tests
- name: Run tests 🫑
run: yarn test
- name: Upload Test Results ⏫
uses: actions/upload-artifact@v4
with:
name: coverage
path: .coverage/
# Deploy
- name: Deploy πŸš€
# Deploy only when code is pushed to main branch
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: yarn deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}