Skip to content

Commit

Permalink
ci: 👷 Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
FairyEver committed Nov 2, 2020
1 parent bb39cdb commit bd4605b
Show file tree
Hide file tree
Showing 16 changed files with 3,886 additions and 6,162 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
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# vue-table-import
# vue-table-export

## externals

VueTableImport

## cdn

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

This file was deleted.

7 changes: 0 additions & 7 deletions demo-files/demo.csv

This file was deleted.

Binary file removed demo-files/demo.xlsx
Binary file not shown.
11 changes: 0 additions & 11 deletions index.html

This file was deleted.

Loading

0 comments on commit bd4605b

Please sign in to comment.