Skip to content

Commit 49a2083

Browse files
authored
fix: skip ci build (#1253)
1 parent 32ee227 commit 49a2083

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

.github/workflows/release-changeset.yaml

+16-14
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,30 @@ jobs:
4242
git config --global user.name "${{ github.actor }}"
4343
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
4444
45+
- name: Create Release Pull Request
46+
id: changesets
47+
uses: FuelLabs/changesets-action@hf/fix/release
48+
with:
49+
publish: pnpm changeset tag
50+
commit: "ci(changesets): versioning packages"
51+
title: "ci(changesets): versioning packages"
52+
createGithubReleases: aggregate
53+
githubReleaseName: v${{ env.BUILD_VERSION }}
54+
githubTagName: v${{ env.BUILD_VERSION }}
55+
skipNpm: true
56+
env:
57+
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
58+
4559
- name: Build Fuel Wallet
60+
if: steps.changesets.outputs.published == 'true'
4661
run: pnpm build:crx
4762
env:
4863
## increase node.js m memory limit for building
4964
## with sourcemaps
5065
NODE_OPTIONS: "--max-old-space-size=4096"
5166

5267
- name: Build Fuel Wallet Development
68+
if: steps.changesets.outputs.published == 'true'
5369
run: pnpm build:crx
5470
env:
5571
VITE_CRX_RELEASE: false
@@ -58,20 +74,6 @@ jobs:
5874
APP_VERSION_POSTFIX: "-development"
5975
NODE_OPTIONS: "--max-old-space-size=4096"
6076

61-
- name: Create Release Pull Request
62-
id: changesets
63-
uses: FuelLabs/changesets-action@hf/fix/release
64-
with:
65-
publish: pnpm changeset tag
66-
commit: "ci(changesets): versioning packages"
67-
title: "ci(changesets): versioning packages"
68-
createGithubReleases: aggregate
69-
githubReleaseName: v${{ env.BUILD_VERSION }}
70-
githubTagName: v${{ env.BUILD_VERSION }}
71-
skipNpm: true
72-
env:
73-
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
74-
7577
- name: Upload artifacts to Sentry
7678
if: steps.changesets.outputs.published == 'true'
7779
run: |

0 commit comments

Comments
 (0)