Skip to content

Commit

Permalink
chore: update github action
Browse files Browse the repository at this point in the history
update: doc
  • Loading branch information
odex21 committed Dec 8, 2020
1 parent a2fe5ca commit 2beec8a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
node-version: 14
registry-url: https://registry.npmjs.org/
- uses: actions/download-artifact@v2
with:
with:
name: dist
path: dist
- name: Display structure of prepublished files
run: cd dist && ls -R
- run: npm publish --tag beta
- run: npm publish --tag rc
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# vf-modal [![beta](https://img.shields.io/npm/v/vf-modal/beta.svg)](https://www.npmjs.com/package/vf-modal/v/beta) [![CircleCI](https://circleci.com/gh/odex21/vf-modal/tree/next.svg?style=svg)](https://circleci.com/gh/odex21/vf-modal) [![codecov](https://codecov.io/gh/odex21/vf-modal/branch/next/graph/badge.svg?token=XI749WLGTF)](https://codecov.io/gh/odex21/vf-modal/branch/next)
# vf-modal
![CircleCI](https://img.shields.io/circleci/build/gh/odex21/vf-modal/next?style=for-the-badge)
![npm (tag)](https://img.shields.io/npm/v/vf-modal/rc?color=blue&style=for-the-badge)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/vf-modal?style=for-the-badge)
![Codecov](https://img.shields.io/codecov/c/github/odex21/vf-modal?style=for-the-badge&token=XI749WLGTF)

## A simple modal framework for vue3.
> only 3KB gzip size
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vf-modal",
"version": "0.1.0-rc.1",
"version": "0.1.0-rc.3",
"main": "dist/index.js",
"license": "MIT",
"keywords": [
Expand All @@ -13,11 +13,11 @@
"build": "node scripts/build.js",
"dev:esm": "node scripts/dev.js",
"test": "jest --runInBand",
"babel": "babel src/test.tsx --config-file ./babel.config.js"
"babel": "babel src/test.tsx --config-file ./babel.config.js",
"prepublish": "yarn build"
},
"files": [
"dist",
"src"
"dist"
],
"dependencies": {
"mitt": "^2.1.0",
Expand Down

0 comments on commit 2beec8a

Please sign in to comment.