Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(Test) test release branch actions #118

Merged
merged 7 commits into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/release_2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Release

on:
workflow_dispatch:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest

steps:
- name: release action
run: |
echo Starting the CLI release
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ secrets.COGNIGY_CLI_RELEASE_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Install semantic-release extra plugins
run: npm --save-dev i @semantic-release/changelog @semantic-release/git
- name: Release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN_CI }}
GITHUB_TOKEN: ${{ secrets.COGNIGY_CLI_RELEASE_TOKEN }}
run: npx semantic-release
4 changes: 1 addition & 3 deletions .github/workflows/test_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ name: test-release
on:
workflow_dispatch:
push:
branches:
- develop
- main
branches: [ main ]
jobs:
release:
name: test-Release
Expand Down
Loading