Skip to content

Commit

Permalink
feat: 测试CI
Browse files Browse the repository at this point in the history
  • Loading branch information
FairyEver committed Nov 2, 2020
1 parent 152b84a commit a0aa96c
Show file tree
Hide file tree
Showing 18 changed files with 3,908 additions and 6,209 deletions.
3 changes: 1 addition & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"presets": [
["env", { "modules": false }],
"stage-3"
"@babel/preset-env"
]
}
9 changes: 0 additions & 9 deletions .editorconfig

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release

on:
push:
branches:
- master

jobs:
publish:
if: "! contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: bahmutov/npm-install@v1
- name: Build
run: npm run build
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
with:
extra_plugins: |
@semantic-release/changelog@3.0.6
@semantic-release/git@7.0.18
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
11 changes: 11 additions & 0 deletions .releaserc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
branch: 'master',
plugins: [
[ '@semantic-release/commit-analyzer' ],
[ '@semantic-release/release-notes-generator' ],
[ '@semantic-release/changelog', { changelogFile: 'CHANGELOG.md' } ],
[ '@semantic-release/npm', { npmPublish: true } ],
[ '@semantic-release/github' ],
[ '@semantic-release/git', { assets: ['CHANGELOG.md', 'package.json'] } ]
]
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 D2 Projects
Copyright (c) 2020 FairyEver

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@
## externals

VueTableExport

## cdn

https://cdn.d2.pub/packages/@d2-projects/vue-table-export@1.0.1/vue-table-export.js
20 changes: 0 additions & 20 deletions cdn.sh

This file was deleted.

11 changes: 0 additions & 11 deletions index.html

This file was deleted.

Loading

0 comments on commit a0aa96c

Please sign in to comment.