Skip to content

Commit

Permalink
Release 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalpiotrowski committed Mar 17, 2024
1 parent 5585556 commit d912d04
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: npm-publish
on:
push:
branches:
- main # Change this to your default branch
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 20.11.1
- name: Publish if version has been updated
uses: pascalgn/npm-publish-action@51fdb4531e99aac1873764ef7271af448dc42ab4
with: # All of theses inputs are optional
tag_name: "v%s"
tag_message: "v%s"
commit_pattern: "^Release (\\S+)"
# commit_user: "" # if not provided will extract from the repo
# commit_email: "" # if not provided will extract from the repo
publish_with: "npm" # options are `yarn`, `npm` or `skip`
env: # More info about the environment variables in the README
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # You need to set this in your repo settings
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "agrona",
"version": "0.1.3",
"version": "0.1.4",
"description": "TypeScript version of agrona DirectBuffer to use with Simple Binary Encoding",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit d912d04

Please sign in to comment.