Skip to content

Commit

Permalink
Add release-alpha yml for alpha package publish (#74)
Browse files Browse the repository at this point in the history
* Update and rename release.yml to release-alpha.yml

* Create package.json

* Update package-lock.json
  • Loading branch information
iChenLei authored Jun 28, 2021
1 parent 57cd686 commit 7eee357
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: NPM Release

on:
release:
types: [created]
push:
tags:
- v2.1.0-alpha.*

jobs:
Release:
Expand All @@ -23,7 +24,7 @@ jobs:
- name: open dist
run: cd dist
- name: Npm publish
run: npm publish
run: npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobx-vue",
"version": "2.1.0-alpha.1",
"version": "2.1.0-alpha.3",
"description": "Vue bindings for MobX",
"main": "./lib/index.js",
"module": "./esm/index.js",
Expand Down

0 comments on commit 7eee357

Please sign in to comment.