Skip to content

Commit

Permalink
ci: added semantic-release and azure-pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
BetimBeja committed Feb 16, 2023
1 parent 6d193f2 commit 5b7c519
Show file tree
Hide file tree
Showing 4 changed files with 4,151 additions and 74 deletions.
23 changes: 23 additions & 0 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
plugins:
- '@semantic-release/commit-analyzer'
- '@semantic-release/release-notes-generator'
- '@semantic-release/changelog'
- '@semantic-release/npm'
- '@semantic-release/exec'
- - '@semantic-release/git'
- assets:
- package.json
- CHANGELOG.md
message: |-
chore(release): ${nextRelease.version} [skip ci]
${nextRelease.notes}
branches:
- '+([0-9])?(.{+([0-9]),x}).x'
- main
- next
- next-major
- name: beta
prerelease: true
- name: alpha
prerelease: true
21 changes: 21 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
trigger:
- main

pool:
vmImage: windows-latest

steps:
- task: NodeTool@0
inputs:
versionSpec: '18.x'

- task: Npm@1
inputs:
command: 'install'
displayName: "Install NPM Dependencies"

- script: 'npx semantic-release'
displayName: 'Semantic Release'
env:
GITHUB_TOKEN: $(GITHUB_TOKEN)
NPM_TOKEN: $(NPM_TOKEN)
Loading

0 comments on commit 5b7c519

Please sign in to comment.