ci: release now also runs on feature branches (for test builds)

This commit is contained in:
Rick van Lieshout 2023-05-10 08:48:13 +02:00
parent 2c5d2b9530
commit 62244f432a

View File

@ -5,6 +5,10 @@ on:
branches:
- master
- develop
pull_request:
branches:
- master
jobs:
build_on_linux:
runs-on: ubuntu-latest
@ -16,7 +20,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 16
node-version: 19
- run: npm install
- run: npm run build
- uses: actions/upload-artifact@master
@ -25,12 +29,12 @@ jobs:
path: dist/
build_on_mac:
runs-on: macOS-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 16
node-version: 19
- run: npm install
- run: npm run build
- uses: actions/upload-artifact@master
@ -44,7 +48,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 16
node-version: 19
- run: npm install
- run: npm run build
- uses: actions/upload-artifact@master