Skip to content

Set up Dependabot for npm and GitHub Actions #5

Set up Dependabot for npm and GitHub Actions

Set up Dependabot for npm and GitHub Actions #5

Workflow file for this run

name: Deploy Worker
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: npm install
- name: Type check
run: npm run typecheck
- name: Deploy to Cloudflare
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
secrets: |
GITHUB_APP_ID
GITHUB_APP_PEM
GITHUB_APP_INSTALLATION_ID
env:
GITHUB_APP_ID: ${{ secrets.RELEASER_APP_ID }}
GITHUB_APP_PEM: ${{ secrets.RELEASER_APP_PRIVATE_KEY }}
GITHUB_APP_INSTALLATION_ID: ${{ secrets.RELEASER_APP_INSTALLATION_ID }}