Skip to content

Commit 59baa23

Browse files
Merge pull request #7 from crispthinking/feature/gh-publishing
feat: add release workflow and update package version to 0.1.0
2 parents 6c6229a + df2c42a commit 59baa23

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on: workflow_dispatch
2+
3+
jobs:
4+
publish:
5+
runs-on: ubuntu-latest
6+
permissions:
7+
contents: read
8+
packages: write # allow GITHUB_TOKEN to publish packages
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v3
12+
with:
13+
node-version: "22"
14+
- run: npm ci
15+
- run: npm test
16+
- uses: JS-DevTools/npm-publish@v3
17+
with:
18+
token: ${{ secrets.GITHUB_TOKEN }}
19+
registry: "https://npm.pkg.github.com"
20+
access: restricted

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "athena-classifier-sdk",
3-
"version": "0.0.0",
3+
"version": "0.1.0",
44
"description": "A Node.js SDK for the Athena classifier that uses gRPC transport.",
55
"type": "module",
66
"engines": {

0 commit comments

Comments
 (0)