Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
Publish the package on release
Browse files Browse the repository at this point in the history
  • Loading branch information
Daiki Hayashi authored Dec 23, 2020
1 parent 09d6552 commit de0d6b3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Publish to GitHub Registry

on:
push:
branches:
- master
tags:
- v*

jobs:
publish:
Expand All @@ -26,6 +26,9 @@ jobs:
- run: npm build
env:
GITHUB_TOKEN: ${{ secrets.HDL_SERVICE_TOKEN }}
- run: npm version from-git
env:
GITHUB_TOKEN: ${{ secrets.HDL_SERVICE_TOKEN }}
- uses: actions/delete-package-versions@v1
with:
package-name: 'app-common'
Expand Down

0 comments on commit de0d6b3

Please sign in to comment.