Bump wrangler from 3.91.0 to 3.93.0 #1446
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
branches: | |
- main | |
- dev | |
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-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: script/bootstrap | |
- name: Build ${{ matrix.environment }} worker | |
uses: cloudflare/[email protected] | |
with: | |
workingDirectory: "worker" | |
packageManager: yarn | |
wranglerVersion: ${{ steps.wrangler.outputs.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-file: '.nvmrc' | |
- 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-file: '.nvmrc' | |
- name: Install packages | |
run: script/bootstrap | |
- name: Build | |
run: script/worker_test |