Skip to content

Bump discord.js from 14.16.2 to 14.16.3 #749

Bump discord.js from 14.16.2 to 14.16.3

Bump discord.js from 14.16.2 to 14.16.3 #749

Workflow file for this run

name: wrangler
on:
pull_request:
branches:
- main
push:
branches:
- main
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
env:
WRANGLER_SEND_METRICS: 'false'
jobs:
wrangler:
runs-on: ubuntu-latest
name: ${{github.event_name == 'push' && 'publish' || 'build'}}
steps:
- uses: actions/[email protected]
- name: Set wrangler version
id: wrangler
run: echo "version=$(jq -r .devDependencies.wrangler package.json | cut -c2-)" >> "$GITHUB_OUTPUT"
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: 20
cache: 'npm'
- name: Install
run: npm ci
- name: Publish worker
if: github.event_name == 'push'
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
wranglerVersion: ${{ steps.wrangler.outputs.version }}
command: deploy
- name: Publish worker (dry-run)
if: github.event_name != 'push'
uses: cloudflare/[email protected]
with:
apiToken: 'pull_request'
wranglerVersion: ${{ steps.wrangler.outputs.version }}
command: deploy --dry-run=true