Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add no-op test + check workflow #6682

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/create-pullrequest-prerelease-no-op.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Create Pull Request Prerelease

on:
pull_request:
paths:
- "**/*.md"

jobs:
build:
if: ${{ github.repository_owner == 'cloudflare' }}
name: Build & Publish a Prerelease to the Adhoc Registry
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
timeout-minutes: 30
steps:
- name: Succeed
run: "true"
5 changes: 4 additions & 1 deletion .github/workflows/create-pullrequest-prerelease.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Create Pull Request Prerelease

on: pull_request
on:
pull_request:
paths-ignore:
- "**/*.md"

jobs:
build:
Expand Down
71 changes: 71 additions & 0 deletions .github/workflows/test-and-check-no-op.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Tests + Checks

on:
pull_request:
paths:
- "**/*.md"

jobs:
add-to-project:
if: github.ref != 'refs/heads/changeset-release/main'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-add-pr
cancel-in-progress: true
timeout-minutes: 30
name: Add PR to project
runs-on: ubuntu-latest
steps:
- run: curl -X POST https://devprod-status-bot.devprod.workers.dev/pr-project/workers-sdk/${{ github.event.number }}

check:
timeout-minutes: 30
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-pr-checks
cancel-in-progress: true

name: "Checks"
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Dependencies
uses: ./.github/actions/install-dependencies
with:
turbo-api: ${{ secrets.TURBO_API }}
turbo-team: ${{ secrets.TURBO_TEAM }}
turbo-token: ${{ secrets.TURBO_TOKEN }}
turbo-signature: ${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }}

- name: Build
run: pnpm run build
env:
CI_OS: ${{ runner.os }}

- name: Check for errors
# This only runs against markdown files, and so we only need to run prettier checks
run: pnpm run check:format
env:
NODE_OPTIONS: "--max_old_space_size=8192"

- name: Check the changesets
run: node -r esbuild-register tools/deployments/validate-changesets.ts

test:
timeout-minutes: 60
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.filter }}-test
cancel-in-progress: true

name: "Tests"
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-13]
filter: ["./fixtures/*", "./packages/*", "./tools"]
runs-on: ${{ matrix.os }}
steps:
- name: Succeed
run: "true"
5 changes: 4 additions & 1 deletion .github/workflows/test-and-check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Tests + Checks

on: pull_request
on:
pull_request:
paths-ignore:
- "**/*.md"

jobs:
add-to-project:
Expand Down
10 changes: 5 additions & 5 deletions packages/wrangler/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Adds a cloudchamber curl command which allows easy access to arbitrary cloudchamber API endpoints.

- [#6649](https://github.com/cloudflare/workers-sdk/pull/6649) [`46a91e7`](https://github.com/cloudflare/workers-sdk/commit/46a91e7e7d286e6835bb87cfdd6c9096deaeba6e) Thanks [@andyjessop](https://github.com/andyjessop)! - feature: Integrate the Cloudflare Pipelines product into wrangler.
- [#6649](https://github.com/cloudflare/workers-sdk/pull/6649) [`46a91e7`](https://github.com/cloudflare/workers-sdk/commit/46a91e7e7d286e6835bb87cfdd6c9096deaeba6e) Thanks [@oliy](https://github.com/oliy)! - feature: Integrate the Cloudflare Pipelines product into wrangler.

Cloudflare Pipelines is a product that handles the ingest of event streams
into R2. This feature integrates various forms of managing pipelines.
Expand All @@ -21,15 +21,15 @@
`wrangler pipelines delete <pipeline>`: Delete a pipeline

Examples:
wrangler pipelines create my-pipeline --r2 MY_BUCKET --access-key-id "my-key" --secret-access-key "my-secret"
wrangler pipelines show my-pipeline
wrangler pipelines delete my-pipline
`wrangler pipelines create my-pipeline --r2 MY_BUCKET --access-key-id "my-key" --secret-access-key "my-secret"`
`wrangler pipelines show my-pipeline`
`wrangler pipelines delete my-pipline`

### Patch Changes

- [#6612](https://github.com/cloudflare/workers-sdk/pull/6612) [`6471090`](https://github.com/cloudflare/workers-sdk/commit/64710904ad4055054bea09ebb23ededab140aa79) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - fix: Add hyperdrive binding support in `getPlatformProxy`

example:
Example:

```toml
# wrangler.toml
Expand Down
Loading