Skip to content

Commit 7e0fa2c

Browse files
committed
Update github action to include build step
1 parent f7d21f0 commit 7e0fa2c

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

.github/workflows/build-release-branch.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,23 @@ concurrency:
1212
jobs:
1313
release:
1414
name: "Update release branch"
15-
uses: humanmade/hm-github-actions/.github/workflows/build-and-release-node.yml@04c32a93e52ae987095f144105745a501d6207c8 # v0.2.0
16-
with:
17-
node_version: 24
18-
source_branch: main
19-
release_branch: release
20-
built_asset_paths: build
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Check out project
18+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
19+
20+
- name: Set up Node
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: 24
24+
cache: 'npm'
25+
26+
- name: Merge and build
27+
uses: humanmade/hm-github-actions/.github/actions/build-to-release-branch@04c32a93e52ae987095f144105745a501d6207c8 # v0.2.0
28+
with:
29+
source_branch: main
30+
release_branch: release
31+
built_asset_paths: build
32+
build_script: |
33+
npm ci
34+
npm run build

0 commit comments

Comments
 (0)