Skip to content

Commit

Permalink
chore: update branch for release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
andibeuge committed Nov 6, 2024
1 parent 00f1a85 commit 68cf7a5
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 36 deletions.
70 changes: 35 additions & 35 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test and draft release
name: Test, Build & Release
on:
push:
branches:
Expand All @@ -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 }}

0 comments on commit 68cf7a5

Please sign in to comment.