Bump wrangler from 3.83.0 to 3.84.1 #880
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 | |
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 |