typescript(option): chore: added semantic release
Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
parent
1178d04079
commit
8620f4b78d
23
typescript/option/.github/workflows/release.yml
vendored
Normal file
23
typescript/option/.github/workflows/release.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
name: Release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# check out repository code and setup node
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12.x'
|
||||
# install dependencies and run semantic-release
|
||||
- run: npm i -g pnpm
|
||||
- run: pnpm install
|
||||
- run: pnpx semantic-release
|
||||
env:
|
||||
_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
@ -19,17 +19,17 @@
|
|||
"maybe",
|
||||
"nullable"
|
||||
],
|
||||
"dependencies": {},
|
||||
"sideEffects": false,
|
||||
"devDependencies": {
|
||||
"rimraf": "^3.0.0",
|
||||
"rollup": "^1.27.5",
|
||||
"rollup": "^1.27.13",
|
||||
"rollup-plugin-commonjs": "^10.1.0",
|
||||
"rollup-plugin-dts": "^1.1.12",
|
||||
"rollup-plugin-dts": "^1.1.13",
|
||||
"rollup-plugin-node-resolve": "^5.2.0",
|
||||
"rollup-plugin-terser": "^5.1.2",
|
||||
"rollup-plugin-typescript2": "^0.25.2",
|
||||
"typescript": "^3.7.2"
|
||||
"rollup-plugin-terser": "^5.1.3",
|
||||
"rollup-plugin-typescript2": "^0.25.3",
|
||||
"semantic-release": "^15.13.31",
|
||||
"typescript": "^3.7.3"
|
||||
},
|
||||
"author": "Matei Adriel",
|
||||
"license": "SEE LICENSE IN LICENSE"
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue