Skip to content

Commit

Permalink
fix npm publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoncy committed Oct 25, 2020
1 parent 39c1c3d commit 88cf9c9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 24 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/create-release.yml

This file was deleted.

19 changes: 17 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
name: npm-publish

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

jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
npm-publish:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 88cf9c9

Please sign in to comment.