Skip to content

Commit 1707ed9

Browse files
authored
ci: update base branch and CI setup in workflows FE-1230 (#138)
- Changed baseBranch in changeset config from "main" to "origin/main". - Updated CI setup in GitHub Actions to use a specific version of the node setup action and added node version specification. - Modified the changeset status command to reference the correct base branch for better changelog generation. Copy of Wallet flow.
1 parent 4ed8369 commit 1707ed9

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"fixed": [["@fuels/*"]],
66
"linked": [],
77
"access": "public",
8-
"baseBranch": "main",
8+
"baseBranch": "origin/main",
99
"updateInternalDependencies": "patch",
1010
"snapshot": {
1111
"useCalculatedVersion": true,

.github/workflows/pr.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,13 @@ jobs:
4545
# need this to get full git-history/clone in order to build changelogs and check changesets
4646
fetch-depth: 0
4747

48-
- uses: FuelLabs/github-actions/setups/node@master
48+
- name: CI Setup
49+
uses: FuelLabs/github-actions/setups/node@58bcd91d7246e40938e1971be0b0fe35b253dff0
4950
with:
51+
node-version: 20.11.0
5052
pnpm-version: 9.5.0
51-
- run: pnpm changeset:check
53+
54+
- run: pnpm changeset status --since=origin/${{ github.base_ref }}
5255

5356
audit:
5457
name: Audit
@@ -99,4 +102,4 @@ jobs:
99102
prnumber: ${{ steps.findPr.outputs.number }}
100103
skip-test: all
101104
coverage-file: ${{ env.COVERAGE_FILE }}
102-
base-coverage-file: ${{ env.COVERAGE_FILE }}
105+
base-coverage-file: ${{ env.COVERAGE_FILE }}

0 commit comments

Comments
 (0)