Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mmdjiji committed Aug 22, 2022
1 parent fc83e5e commit 7d7f34c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,23 @@
name: Node.js Package

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

jobs:

release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
prerelease: false

publish-npm:
name: Publish to NPM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexo-bangumis",
"version": "1.0.1",
"version": "1.0.2",
"description": "Hexo 番剧页面插件",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 7d7f34c

Please sign in to comment.