Skip to content

Commit 57431b6

Browse files
authored
Merge pull request #89 from leezng/dev
release
2 parents b32f495 + cf834ae commit 57431b6

File tree

8 files changed

+161
-106
lines changed

8 files changed

+161
-106
lines changed

.github/workflows/bump-version.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,44 +18,27 @@ jobs:
1818
GITHUB_USER: ${{ secrets.CI_NAME }}
1919
GITHUB_EMAIL: ${{ secrets.CI_EMAIL }}
2020

21-
publish-npm:
22-
needs: bump-version
23-
runs-on: ubuntu-latest
24-
steps:
25-
- name: Checkout Code
26-
uses: actions/checkout@v2
27-
2821
- name: Set up Node.js
2922
uses: actions/setup-node@v1
3023
with:
3124
node-version: 12
3225
registry-url: https://registry.npmjs.org/
3326

34-
- name: Publish
27+
- name: Publish NPM
3528
run: |
3629
npm ci
3730
npm run build
3831
npm publish
3932
env:
4033
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4134

42-
publish-gpr:
43-
needs: bump-version
44-
runs-on: ubuntu-latest
45-
steps:
46-
- name: Checkout Code
47-
uses: actions/checkout@v2
48-
4935
- name: Set up Node.js
5036
uses: actions/setup-node@v1
5137
with:
52-
node-version: 12
5338
registry-url: https://npm.pkg.github.com/
5439

55-
- name: Publish
40+
- name: Publish GPR
5641
run: |
57-
npm ci
58-
npm run build
5942
npm publish
6043
env:
6144
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The CSS file is included separately and needs to be imported manually. You can e
4040
4141
<script>
4242
import VueJsonPretty from 'vue-json-pretty'
43-
import 'vue-json-pretty/lib/styles.css';
43+
import 'vue-json-pretty/lib/styles.css'
4444
4545
export default {
4646
components: {
@@ -58,7 +58,7 @@ export default {
5858
import Vue from 'vue'
5959
import VueJsonPretty from 'vue-json-pretty'
6060
61-
Vue.component("vue-json-pretty", VueJsonPretty);
61+
Vue.component("vue-json-pretty", VueJsonPretty)
6262
```
6363

6464
2. In `nuxt.config.js`

0 commit comments

Comments
 (0)