mirror of
https://github.com/status-im/diawi-nodejs-uploader.git
synced 2025-02-16 15:07:01 +00:00
build: npm publish config
This commit is contained in:
parent
d3387597fb
commit
1da108a93d
18
.github/workflows/release.yaml
vendored
Normal file
18
.github/workflows/release.yaml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
name: Release
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test-and-release:
|
||||||
|
name: release
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- name: Install dependencies
|
||||||
|
run: yarn
|
||||||
|
- name: Release
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
run: yarn release
|
@ -3,7 +3,7 @@
|
|||||||
"@semantic-release/commit-analyzer",
|
"@semantic-release/commit-analyzer",
|
||||||
"@semantic-release/release-notes-generator",
|
"@semantic-release/release-notes-generator",
|
||||||
"@semantic-release/changelog",
|
"@semantic-release/changelog",
|
||||||
"@semantic-release/git",
|
"@semantic-release/github",
|
||||||
{
|
{
|
||||||
"path": "@semantic-release/npm",
|
"path": "@semantic-release/npm",
|
||||||
"npmPublish": true
|
"npmPublish": true
|
||||||
|
@ -5,7 +5,8 @@
|
|||||||
"author": "Andrey Ponomarenko",
|
"author": "Andrey Ponomarenko",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public",
|
||||||
|
"branches": ["master"]
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist/"
|
"dist/"
|
||||||
@ -27,6 +28,7 @@
|
|||||||
"@semantic-release/changelog": "^5.0.1",
|
"@semantic-release/changelog": "^5.0.1",
|
||||||
"@semantic-release/commit-analyzer": "^8.0.1",
|
"@semantic-release/commit-analyzer": "^8.0.1",
|
||||||
"@semantic-release/git": "^9.0.0",
|
"@semantic-release/git": "^9.0.0",
|
||||||
|
"@semantic-release/github": "^7.1.1",
|
||||||
"@semantic-release/npm": "^7.0.6",
|
"@semantic-release/npm": "^7.0.6",
|
||||||
"@semantic-release/release-notes-generator": "^9.0.1",
|
"@semantic-release/release-notes-generator": "^9.0.1",
|
||||||
"@types/fs-extra": "^9.0.1",
|
"@types/fs-extra": "^9.0.1",
|
||||||
|
@ -363,7 +363,7 @@
|
|||||||
micromatch "^4.0.0"
|
micromatch "^4.0.0"
|
||||||
p-reduce "^2.0.0"
|
p-reduce "^2.0.0"
|
||||||
|
|
||||||
"@semantic-release/github@^7.0.0":
|
"@semantic-release/github@^7.0.0", "@semantic-release/github@^7.1.1":
|
||||||
version "7.1.1"
|
version "7.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/@semantic-release/github/-/github-7.1.1.tgz#e998aa9a9cd770838d9f27c64f060c2b686b9d95"
|
resolved "https://registry.yarnpkg.com/@semantic-release/github/-/github-7.1.1.tgz#e998aa9a9cd770838d9f27c64f060c2b686b9d95"
|
||||||
integrity sha512-w8CLCvGVKNe2FPOYQ68OFxFVNNha7YRzptnwTZYdjXYtgTDKw0XVfnMSd9NlJeQPYGfQmIhIVPNBU/cA6zUY0A==
|
integrity sha512-w8CLCvGVKNe2FPOYQ68OFxFVNNha7YRzptnwTZYdjXYtgTDKw0XVfnMSd9NlJeQPYGfQmIhIVPNBU/cA6zUY0A==
|
||||||
|
Loading…
x
Reference in New Issue
Block a user