From 68cf7a5382495995a7b13eca6344b6263bb0eb67 Mon Sep 17 00:00:00 2001 From: Andreas Beuge Date: Wed, 6 Nov 2024 16:11:13 +0100 Subject: [PATCH] chore: update branch for release pipeline --- .github/workflows/main.yml | 70 ++++++++++++++++++------------------- .github/workflows/test.yaml | 4 ++- 2 files changed, 38 insertions(+), 36 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bfe3cd3..2054236 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,38 +1,38 @@ -name: Test, Build & Release - -on: - - push - -permissions: - contents: write - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - - uses: actions/checkout@v4 - name: Checkout Repository - with: - ref: master - token: ${{ secrets.REPO_ACCESS_TOKEN_OPEN_SOURCE }} - - - uses: actions/setup-node@v4 - with: - node-version: "18.x" - - - name: Install dependencies - run: npm ci - - - name: Run tests - run: npm run test - - - name: Build - run: rm -rf lib/ && npm run build - - - run: git config user.email "dev.bot@parcellab.com" - - run: git config user.name "parcellab-dev-bot" +#name: Test, Build & Release +# +#on: +# - push +# +#permissions: +# contents: write +# +#jobs: +# build: +# runs-on: ubuntu-latest +# +# steps: +# +# - uses: actions/checkout@v4 +# name: Checkout Repository +# with: +# ref: master +# token: ${{ secrets.REPO_ACCESS_TOKEN_OPEN_SOURCE }} +# +# - uses: actions/setup-node@v4 +# with: +# node-version: "18.x" +# +# - name: Install dependencies +# run: npm ci +# +# - name: Run tests +# run: npm run test +# +# - name: Build +# run: rm -rf lib/ && npm run build +# +# - run: git config user.email "dev.bot@parcellab.com" +# - run: git config user.name "parcellab-dev-bot" # - name: Release # env: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2f8d78b..aa0df2d 100755 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,4 +1,4 @@ -name: Test and draft release +name: Test, Build & Release on: push: branches: @@ -24,5 +24,7 @@ jobs: needs: - verify uses: parcelLab/ci/.github/workflows/release.yaml@v1 + with: + targetBranch: master secrets: repoAccessToken: ${{ secrets.REPO_ACCESS_TOKEN_OPEN_SOURCE }}