fix(yuika): Fix CI steps

This commit is contained in:
Damillora 2021-04-14 17:45:30 +07:00
parent b9d3abd6b3
commit f8e849c28b
4 changed files with 3135 additions and 24 deletions

View File

@ -9,7 +9,7 @@ jobs:
with: with:
node-version: '14' node-version: '14'
- run: yarn install - run: yarn install
- run: yarn zip - run: yarn build
- name: Release - name: Release
env: env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@ -5,6 +5,7 @@
"plugins": [ "plugins": [
"@semantic-release/commit-analyzer", "@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator", "@semantic-release/release-notes-generator",
"@semantic-release/npm",
[ [
"@semantic-release/github", "@semantic-release/github",
{ {
@ -15,6 +16,12 @@
} }
] ]
} }
],
[
"@semantic-release/exec",
{
"prepareCmd": "yarn zip"
}
] ]
] ]
} }

View File

@ -62,6 +62,8 @@
"url": "https://github.com/Damillora/Yuika.git" "url": "https://github.com/Damillora/Yuika.git"
}, },
"devDependencies": { "devDependencies": {
"@semantic-release/exec": "^5.0.0",
"semantic-release": "^17.4.2" "semantic-release": "^17.4.2"
} },
"private": true
} }

3144
yarn.lock

File diff suppressed because it is too large Load Diff