Skip to content

Commit

Permalink
docs: workflow for publishing new release versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianmusial committed Mar 15, 2024
1 parent 45e77db commit 5a08124
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 21 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
name: Commitlint

name: Lint Commit Messages
on: [pull_request]

permissions:
contents: read
pull-requests: read

jobs:
lint:
commitlint:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.BOLDARE_GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v1
with:
configFile: .commitlintrc.js
- uses: actions/checkout@v3
- uses: wagoid/commitlint-github-action@v5
11 changes: 3 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,13 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@boldare'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish
- run: npm run publish
env:
NODE_AUTH_TOKEN: ${{ secrets.BOLDARE_GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion libs/ai-assistant/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@boldare/ai-assistant",
"version": "0.0.2-dev.5",
"version": "0.0.2-dev.6",
"private": false,
"dependencies": {
"tslib": "^2.3.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"format": "nx format:write",
"prepare": "husky"
},
"private": true,
"private": false,
"dependencies": {
"@angular/animations": "~17.0.0",
"@angular/cdk": "^17.0.5",
Expand Down

0 comments on commit 5a08124

Please sign in to comment.