Skip to content

Commit

Permalink
changing publish strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
sombriks committed Feb 24, 2024
1 parent 53b9bbe commit 823cb73
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Publish npm package

on:
push:
branches: [ "main" ]
tags:
- '*'

env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand All @@ -12,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install libgpiod
run: |
run: |
sudo apt-get install gpiod libgpiod2 libgpiod-dev libnode-dev -y
- name: Checkout
Expand Down

0 comments on commit 823cb73

Please sign in to comment.