Skip to content

Commit

Permalink
ci: update base branch and CI setup in workflows FE-1230 (#138)
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
nelitow authored Dec 25, 2024
1 parent 4ed8369 commit 1707ed9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"fixed": [["@fuels/*"]],
"linked": [],
"access": "public",
"baseBranch": "main",
"baseBranch": "origin/main",
"updateInternalDependencies": "patch",
"snapshot": {
"useCalculatedVersion": true,
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,13 @@ jobs:
# need this to get full git-history/clone in order to build changelogs and check changesets
fetch-depth: 0

- uses: FuelLabs/github-actions/setups/node@master
- name: CI Setup
uses: FuelLabs/github-actions/setups/node@58bcd91d7246e40938e1971be0b0fe35b253dff0
with:
node-version: 20.11.0
pnpm-version: 9.5.0
- run: pnpm changeset:check

- run: pnpm changeset status --since=origin/${{ github.base_ref }}

audit:
name: Audit
Expand Down Expand Up @@ -99,4 +102,4 @@ jobs:
prnumber: ${{ steps.findPr.outputs.number }}
skip-test: all
coverage-file: ${{ env.COVERAGE_FILE }}
base-coverage-file: ${{ env.COVERAGE_FILE }}
base-coverage-file: ${{ env.COVERAGE_FILE }}

0 comments on commit 1707ed9

Please sign in to comment.