mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-03 14:37:00 +08:00
chore(workflow): 使用原生 GitHub Release 工具 (#727)
This commit is contained in:
@@ -71,6 +71,16 @@ describe('前端测试 workflow', () => {
|
||||
expect(workflow).toContain('corepack install --global yarn@1.22.22')
|
||||
expect(workflow).toContain('run: yarn --frozen-lockfile')
|
||||
expect(workflow).toContain('echo "frontend_version=v$frontend_version"')
|
||||
expect(workflow).toContain('gh api --include')
|
||||
expect(workflow).toContain('gh release create "$TAG_NAME"')
|
||||
expect(workflow).toContain('release_status" != "404"')
|
||||
expect(workflow).toContain('delete_status" != "404"')
|
||||
expect(workflow).toContain('git/ref/tags/${TAG_NAME}')
|
||||
expect(workflow).toContain('tag_query_status" = "200"')
|
||||
expect(workflow).toContain('tag_query_status" != "404"')
|
||||
expect(workflow).toContain('tag_delete_status" != "204"')
|
||||
expect(workflow).not.toContain('dev-drprasad/delete-tag-and-release')
|
||||
expect(workflow).not.toContain('softprops/action-gh-release')
|
||||
expect(workflow).not.toContain('actions/checkout@v3')
|
||||
expect(workflow).not.toContain('actions/setup-node@v3')
|
||||
expect(workflow).not.toContain(' - v2')
|
||||
|
||||
Reference in New Issue
Block a user