Skip to content

Commit

Permalink
Merge pull request #13 from sombriks/test-release-strategy
Browse files Browse the repository at this point in the history
Test release strategy
  • Loading branch information
sombriks committed Nov 13, 2023
2 parents a48dc3e + 60b7fdd commit 4933743
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 3 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish npm package

on:
push:
branches: [ "main" ]

jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Configure Node
uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'

- name: Publish tag on npm
run: |
npm ci
npm run build
# npm run test:coverage
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# changelog

## 2023-11-13

### 0.3.1

- Merged PR #12 from @khill-fbmc fixing errors in index.d.ts
- Some dependency version bumps, it compiles again under node 18.
- Added GitHub Action to ease release process

I'll try to streamline more the changes we receive, let me know if anything needs
immediate attention.

## 2022-04-17

### 0.3.0
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-libgpiod",
"version": "0.3.0",
"version": "0.3.1",
"author": {
"name": "Leonardo Silveira",
"email": "sombriks@gmail.com",
Expand All @@ -22,8 +22,8 @@
"test": "mocha"
},
"devDependencies": {
"mocha": "^2.2.5",
"node-gyp": "^3.8.0"
"mocha": "10.1.0",
"node-gyp": "^10.0.1"
},
"dependencies": {
"bindings": "^1.3.0",
Expand Down

0 comments on commit 4933743

Please sign in to comment.