1
Fork 0

typescript(option): chore: added semantic release

Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
Matei Adriel 2019-12-19 13:50:17 +02:00 committed by prescientmoon
parent 1178d04079
commit 8620f4b78d
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
3 changed files with 2175 additions and 11 deletions

View 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 }}

View file

@ -19,17 +19,17 @@
"maybe", "maybe",
"nullable" "nullable"
], ],
"dependencies": {},
"sideEffects": false, "sideEffects": false,
"devDependencies": { "devDependencies": {
"rimraf": "^3.0.0", "rimraf": "^3.0.0",
"rollup": "^1.27.5", "rollup": "^1.27.13",
"rollup-plugin-commonjs": "^10.1.0", "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-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.2", "rollup-plugin-terser": "^5.1.3",
"rollup-plugin-typescript2": "^0.25.2", "rollup-plugin-typescript2": "^0.25.3",
"typescript": "^3.7.2" "semantic-release": "^15.13.31",
"typescript": "^3.7.3"
}, },
"author": "Matei Adriel", "author": "Matei Adriel",
"license": "SEE LICENSE IN LICENSE" "license": "SEE LICENSE IN LICENSE"

File diff suppressed because it is too large Load diff