mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-17 18:40:33 +00:00
chore(CI) Updated Semantic and releaserc
- changed node-version to '*' and removed commented lines - added comments about moving ScriptTemplate files
This commit is contained in:
parent
e588e33f66
commit
15f1b6bba8
4
.github/workflows/Semantic.yml
vendored
4
.github/workflows/Semantic.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
node-version: '*'
|
||||
|
||||
- name: Install conventional-changelog-conventionalcommits
|
||||
run: npm i -D conventional-changelog-conventionalcommits
|
||||
@ -38,7 +38,5 @@ jobs:
|
||||
|
||||
- name: Release
|
||||
run: npx semantic-release
|
||||
# --plugins "@semantic-release/commit-analyzer,@semantic-release/release-notes-generator,@semantic-release/exec,@semantic-release/github"
|
||||
# --debug true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -47,6 +47,8 @@ plugins:
|
||||
- - '@semantic-release/exec'
|
||||
- prepareCmd: "rm -f -r Assets/Mirror/Tests && rm -f Assets/Mirror/Tests.meta"
|
||||
|
||||
# Move ScriptTemplates to Mirror folder so they're included in Unity package
|
||||
# There's an editor script that moves them back to Assets when imported to Unity
|
||||
- - '@semantic-release/exec'
|
||||
- prepareCmd: "mv Assets/ScriptTemplates Assets/Mirror/ && mv Assets/ScriptTemplates.meta Assets/Mirror/"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user