mirror of
https://github.com/chirimen-oh/node-web-gpio.git
synced 2025-01-19 00:18:02 +00:00
chore
- update publish action - ncu -u - use prepare - remove :maintainLockFilesWeekly
This commit is contained in:
parent
304fa63f41
commit
2d60818925
4 changed files with 15 additions and 19 deletions
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
|
@ -9,7 +9,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- id: yarn_cache
|
- id: yarn_cache
|
||||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.yarn_cache.outputs.dir }}
|
path: ${{ steps.yarn_cache.outputs.dir }}
|
||||||
key: yarn-${{ hashFiles('**/yarn.lock') }}
|
key: yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
@ -19,9 +19,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email bot@example
|
git config --global user.email bot@example
|
||||||
git config --global user.name bot
|
git config --global user.name bot
|
||||||
- run: npm version patch
|
|
||||||
- name: Publish.
|
- name: Publish.
|
||||||
run: |
|
run: |
|
||||||
|
npm version patch
|
||||||
|
git push --atomic --tags origin HEAD
|
||||||
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
|
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
|
||||||
npm publish
|
npm publish
|
||||||
- run: git push origin --tags
|
|
||||||
|
|
|
@ -14,12 +14,12 @@
|
||||||
"author": "Kohei Watanabe <kou029w@gmail.com>",
|
"author": "Kohei Watanabe <kou029w@gmail.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^14.6.3",
|
"@types/node": "^14.14.25",
|
||||||
"typescript": "^4.0.2"
|
"typescript": "^4.1.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"prepublish": "rm -rf dist && yarn build"
|
"prepare": "rm -rf dist && npm run build"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"gpio",
|
"gpio",
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
{
|
{
|
||||||
"extends": [
|
"extends": ["config:base", ":preserveSemverRanges"],
|
||||||
"config:base",
|
|
||||||
":preserveSemverRanges",
|
|
||||||
":maintainLockFilesWeekly"
|
|
||||||
],
|
|
||||||
"automerge": true
|
"automerge": true
|
||||||
}
|
}
|
||||||
|
|
16
yarn.lock
16
yarn.lock
|
@ -2,12 +2,12 @@
|
||||||
# yarn lockfile v1
|
# yarn lockfile v1
|
||||||
|
|
||||||
|
|
||||||
"@types/node@^14.6.3":
|
"@types/node@^14.14.25":
|
||||||
version "14.6.3"
|
version "14.14.25"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.6.3.tgz#cc4f979548ca4d8e7b90bc0180052ab99ee64224"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.25.tgz#15967a7b577ff81383f9b888aa6705d43fbbae93"
|
||||||
integrity sha512-pC/hkcREG6YfDfui1FBmj8e20jFU5Exjw4NYDm8kEdrW+mOh0T1Zve8DWKnS7ZIZvgncrctcNCXF4Q2I+loyww==
|
integrity sha512-EPpXLOVqDvisVxtlbvzfyqSsFeQxltFbluZNRndIb8tr9KiBnYNLzrc1N3pyKUCww2RNrfHDViqDWWE1LCJQtQ==
|
||||||
|
|
||||||
typescript@^4.0.2:
|
typescript@^4.1.3:
|
||||||
version "4.0.2"
|
version "4.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.2.tgz#7ea7c88777c723c681e33bf7988be5d008d05ac2"
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.3.tgz#519d582bd94cba0cf8934c7d8e8467e473f53bb7"
|
||||||
integrity sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==
|
integrity sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg==
|
||||||
|
|
Loading…
Add table
Reference in a new issue