Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: "npm"

- name: "Execute build"
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: "npm"

- name: "Obtain Github App token"
id: app-token
uses: getsentry/action-github-app-token@v3.0.0
uses: getsentry/action-github-app-token@v3
with:
app_id: ${{ secrets.BOT_APP_ID }}
private_key: ${{ secrets.BOT_APP_PRIVATE_KEY }}
Expand Down Expand Up @@ -56,18 +56,17 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: Publish to Cloudflare
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
wranglerVersion: '3.112.0'
wranglerVersion: '4.16.1'
preCommands: npm ci
command: publish
command: deploy
secrets: |
WEBHOOK_URL
env:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,16 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
Comment thread
ankurdotb marked this conversation as resolved.
cache: 'npm'

- name: Publish to Cloudflare
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
wranglerVersion: '3.112.0'
preCommands: npm ci
command: publish --env staging
command: deploy --env staging
secrets: |
WEBHOOK_URL
env:
Expand Down
Loading