Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kaifei Hu authored Jul 7, 2021
1 parent 968e671 commit ff78bb7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@
name: Publish

on:
push:
tags:
- '**'
- '*'
release:
types: [created]

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://registry.npmjs.org/
Expand Down

0 comments on commit ff78bb7

Please sign in to comment.