ci: configure workflows

This commit is contained in:
molvqingtai 2024-09-27 17:33:36 +08:00
parent 8cffbe9ef6
commit c40b1e8473
2 changed files with 8 additions and 2 deletions

View file

@ -11,7 +11,7 @@ jobs:
linter: linter:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: lts/* node-version: lts/*
@ -27,7 +27,10 @@ jobs:
needs: linter needs: linter
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
# https://github.com/semantic-release/semantic-release/issues/2636
with:
persist-credentials: false
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: lts/* node-version: lts/*

View file

@ -18,6 +18,9 @@
{ {
"path": ".output/web-chat-{{nextRelease.version}}-chrome.zip" "path": ".output/web-chat-{{nextRelease.version}}-chrome.zip"
} }
],
"labels": [
"release"
] ]
}, },
"@semantic-release/git" "@semantic-release/git"