Skip to content

Commit

Permalink
Removing Tests Build & Adding Release Trigger constraints (#122)
Browse files Browse the repository at this point in the history
* CI/CD Cleanup
- Removed the build step from tests, should speed up the workflow
- Added a branch specific trigger for Release, should only work on PRs closed to main
- Removed the Changeset PR workflow, Release workflow will handle everything needed for changesets

* Create swift-beers-mix.md
  • Loading branch information
JacobMGEvans authored Dec 17, 2021
1 parent ce2ef20 commit 3c5725f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
8 changes: 8 additions & 0 deletions .changeset/swift-beers-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
wrangler: patch
---

CI/CD Cleanup
- Removed the build step from tests, which should speed up the "Tests" Workflow.
- Added a branch specific trigger for "Release", now the Workflow for "Release" should only work on PRs closed to `main`
- Removed the "Changeset PR" Workflow. Now the "Release" Workflow will handle everything needed for Changesets.
20 changes: 0 additions & 20 deletions .github/workflows/tests-typecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,6 @@ on:
pull_request:

jobs:
build:
name: "Build Wrangler: ${{ matrix.os }} (node@${{ matrix.node_version }})"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node_version: [16.7]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
- name: Install NPM Dependencies
run: npm install
- name: Build
run: npm run build
working-directory: packages/wrangler

test:
name: "Tests & Typechecking: ${{ matrix.os }} (node@${{ matrix.node_version }})"
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 3c5725f

Please sign in to comment.