Skip to content

Commit

Permalink
chore: #release
Browse files Browse the repository at this point in the history
  • Loading branch information
sarabveer committed Dec 3, 2023
1 parent 65875c5 commit bd2e3ee
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,26 @@ on:
branches: [ main ]

jobs:
build-pkg:
if: "contains(github.event.head_commit.message, '#release')"
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@v3
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: '@gurbaninow'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build-mariadb:
if: "contains(github.event.head_commit.message, '#release')"
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gurbaninow/database",
"version": "4.7.0",
"version": "5.0.0-beta",
"description": "The open gurbani database containing an evolving set of corrections. Used in Shabad OS software.",
"scripts": {
"import": "node lib/import.js",
Expand Down

0 comments on commit bd2e3ee

Please sign in to comment.