Skip to content

Commit

Permalink
simplify publish github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsdls committed Dec 13, 2024
1 parent aa72ba2 commit c92a9a1
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 75 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: ./.github/composite-actions/install

- name: Build Packages
run: pnpm build:packages
run: pnpm build

lint:
needs: optimize_ci
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
uses: ./.github/composite-actions/install

- name: Build Packages
run: pnpm build:packages
run: pnpm build

- name: Install Yarn (if needed)
if: matrix.package_manager == 'yarn'
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,9 @@ jobs:
# Do not use the GITHUB_TOKEN by default
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}

- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.35

- name: Install
uses: ./.github/composite-actions/install

- name: Build
run: pnpm build

- name: Create @nightly release
run: |
pnpm version-packages:nightly
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,9 @@ jobs:
# Do not use the GITHUB_TOKEN by default
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}

- name: Setup bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.35

- name: Install
uses: ./.github/composite-actions/install

- name: Build
run: pnpm build:release

- name: Create release Pull Request or publish to NPM
id: changesets
uses: changesets/action@v1
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@
"portal:build": "turbo run build --filter=./apps/portal",
"dashboard": "turbo run dev --filter=./apps/dashboard --filter=./packages/thirdweb",
"dashboard:build": "turbo run build --filter=./apps/dashboard",
"build:packages": "turbo run build --filter=./packages/*",
"build": "turbo run build --filter=./packages/*",
"build:release": "pnpm run build --filter=./packages/* --force",
"build:release": "turbo run build --filter=./packages/* --force",
"test": "turbo run test --filter=./packages/*",
"e2e": "turbo run e2e --filter=./packages/*",
"bench": "turbo run bench",
Expand Down
55 changes: 0 additions & 55 deletions scripts/pre-release.mjs

This file was deleted.

0 comments on commit c92a9a1

Please sign in to comment.