-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (29 loc) · 944 Bytes
/
build-and-release.yml
File metadata and controls
34 lines (29 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Production Build & Release
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
release:
name: 'Update release branch'
runs-on: ubuntu-latest
steps:
- name: Check out project
uses: actions/checkout@v5
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 24
cache: 'npm'
- name: Merge and build
uses: humanmade/hm-github-actions/.github/actions/build-to-release-branch@04c32a93e52ae987095f144105745a501d6207c8 # v0.2.0
with:
source_branch: main
release_branch: release
built_asset_paths: build
build_script: |
npm i
npm run build