Skip to content

Commit a0aa96c

Browse files
committed
feat: 测试CI
1 parent 152b84a commit a0aa96c

File tree

18 files changed

+3908
-6209
lines changed

18 files changed

+3908
-6209
lines changed

.babelrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"presets": [
3-
["env", { "modules": false }],
4-
"stage-3"
3+
"@babel/preset-env"
54
]
65
}

.editorconfig

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
publish:
10+
if: "! contains(github.event.head_commit.message, '[skip ci]')"
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v1
14+
- uses: bahmutov/npm-install@v1
15+
- name: Build
16+
run: npm run build
17+
- name: Semantic Release
18+
uses: cycjimmy/semantic-release-action@v2
19+
with:
20+
extra_plugins: |
21+
@semantic-release/changelog@3.0.6
22+
@semantic-release/git@7.0.18
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.releaserc.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module.exports = {
2+
branch: 'master',
3+
plugins: [
4+
[ '@semantic-release/commit-analyzer' ],
5+
[ '@semantic-release/release-notes-generator' ],
6+
[ '@semantic-release/changelog', { changelogFile: 'CHANGELOG.md' } ],
7+
[ '@semantic-release/npm', { npmPublish: true } ],
8+
[ '@semantic-release/github' ],
9+
[ '@semantic-release/git', { assets: ['CHANGELOG.md', 'package.json'] } ]
10+
]
11+
}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 D2 Projects
3+
Copyright (c) 2020 FairyEver
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,3 @@
33
## externals
44

55
VueTableExport
6-
7-
## cdn
8-
9-
https://cdn.d2.pub/packages/@d2-projects/vue-table-export@1.0.1/vue-table-export.js

cdn.sh

Lines changed: 0 additions & 20 deletions
This file was deleted.

index.html

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)