Skip to content

Bump wrangler from 3.83.0 to 3.84.1 #880

Bump wrangler from 3.83.0 to 3.84.1

Bump wrangler from 3.83.0 to 3.84.1 #880

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
name: Build ${{ matrix.environment }} worker
strategy:
matrix:
environment:
- dev
- production
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version-file: ".nvmrc"
- name: Set wrangler version
id: wrangler
run: echo "version=$(jq -r .devDependencies.wrangler package.json | cut -c2-)" >> "$GITHUB_OUTPUT"
- name: Install packages
run: yarn install
- name: Build ${{ matrix.environment }} worker
uses: cloudflare/[email protected]
with:
wranglerVersion: ${{ steps.wrangler.outputs.version }}
command: deploy --dry-run --env=${{ matrix.environment }}
test:
runs-on: ubuntu-latest
name: Test worker
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version-file: ".nvmrc"
- name: Install packages
run: yarn install
- name: Test
run: yarn test