From 62244f432a78bbf3e1f7b0f7178c02cd7a761f6f Mon Sep 17 00:00:00 2001 From: Mastermindzh Date: Wed, 10 May 2023 08:48:13 +0200 Subject: [PATCH] ci: release now also runs on feature branches (for test builds) --- .github/workflows/release.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8bda4ca..e934f81 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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