@@ -42,14 +42,30 @@ jobs:
42
42
git config --global user.name "${{ github.actor }}"
43
43
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
44
44
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
+
45
59
- name : Build Fuel Wallet
60
+ if : steps.changesets.outputs.published == 'true'
46
61
run : pnpm build:crx
47
62
env :
48
63
# # increase node.js m memory limit for building
49
64
# # with sourcemaps
50
65
NODE_OPTIONS : " --max-old-space-size=4096"
51
66
52
67
- name : Build Fuel Wallet Development
68
+ if : steps.changesets.outputs.published == 'true'
53
69
run : pnpm build:crx
54
70
env :
55
71
VITE_CRX_RELEASE : false
58
74
APP_VERSION_POSTFIX : " -development"
59
75
NODE_OPTIONS : " --max-old-space-size=4096"
60
76
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
-
75
77
- name : Upload artifacts to Sentry
76
78
if : steps.changesets.outputs.published == 'true'
77
79
run : |
0 commit comments