Skip to content

Bump wrangler from 3.5.1 to 3.7.0 #1258

Bump wrangler from 3.5.1 to 3.7.0

Bump wrangler from 3.5.1 to 3.7.0 #1258

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
- dev
env:
WRANGLER_VERSION: "3.5.1"
NODE_VERSION: "16.14.0"
jobs:
worker:
runs-on: ubuntu-latest
name: Build ${{ matrix.environment }} worker
strategy:
matrix:
environment:
- dev
- local-dev
- production
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install packages
run: script/bootstrap
- name: Build ${{ matrix.environment }} worker
uses: cloudflare/[email protected]
with:
workingDirectory: "worker"
wranglerVersion: ${{ env.WRANGLER_VERSION }}
command: deploy --dry-run --env=${{ matrix.environment }}
site:
runs-on: ubuntu-latest
name: Build site
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install packages
run: script/bootstrap
- name: Build
run: script/build
test-worker:
runs-on: ubuntu-latest
name: Test worker
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install packages
run: script/bootstrap
- name: Build
run: script/worker_test