Skip to content

Commit

Permalink
chore(ci): run publish action only on package.json change
Browse files Browse the repository at this point in the history
  • Loading branch information
lwille authored Mar 12, 2020
1 parent f9416de commit 89771f6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ on:
push:
branches:
- master
paths:
- package.json
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@master
uses: actions/setup-node@v1.4.0
with:
node-version: 10.0.0
- name: Publish if version has been updated
Expand Down

0 comments on commit 89771f6

Please sign in to comment.