Skip to content

Commit fa33494

Browse files
committed
ci: update workflows
1 parent a974a4a commit fa33494

File tree

9 files changed

+13
-12
lines changed

9 files changed

+13
-12
lines changed

.github/workflows/issue-close-require.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
close-issues:
9-
if: github.repository == 'vitejs/vite'
9+
if: github.repository == 'vitejs/rolldown-vite'
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: needs reproduction

.github/workflows/issue-labeled.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
reply-labeled:
9-
if: github.repository == 'vitejs/vite'
9+
if: github.repository == 'vitejs/rolldown-vite'
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: contribution welcome

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
publish:
1212
# prevents this action from running on forks
13-
if: github.repository == 'vitejs/vite'
13+
if: github.repository == 'vitejs/rolldown-vite'
1414
runs-on: ubuntu-latest
1515
permissions:
1616
contents: read

.github/workflows/release-tag.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
release:
14-
if: github.repository == 'vitejs/vite'
14+
if: github.repository == 'vitejs/rolldown-vite'
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
@@ -45,4 +45,4 @@ jobs:
4545
with:
4646
tag_name: ${{ github.ref }}
4747
body: |
48-
Please refer to [CHANGELOG.md](https://github.com/vitejs/vite/blob/${{ github.ref_name }}/packages/${{ steps.tag.outputs.pkgName }}/CHANGELOG.md) for details.
48+
Please refer to [CHANGELOG.md](https://github.com/vitejs/rolldown-vite/blob/${{ github.ref_name }}/packages/${{ steps.tag.outputs.pkgName }}/CHANGELOG.md) for details.

.github/workflows/semantic-pull-request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
main:
12-
if: github.repository == 'vitejs/vite'
12+
if: github.repository == 'vitejs/rolldown-vite'
1313
runs-on: ubuntu-latest
1414
name: Semantic Pull Request
1515
steps:

packages/vite/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "vite",
2+
"name": "rolldown-vite",
33
"version": "6.2.1",
44
"type": "module",
55
"license": "MIT",

packages/vite/src/node/__tests__/config.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ describe('loadConfigFromFile', () => {
754754
))!
755755
expect(config).toMatchInlineSnapshot(`
756756
{
757-
"jsonValue": "vite",
757+
"jsonValue": "rolldown-vite",
758758
}
759759
`)
760760
},

scripts/publishCI.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ import { publish } from '@vitejs/release-scripts'
55
const tag = process.argv.slice(2)[0] ?? ''
66
const provenance = !tag.includes('@')
77

8-
publish({ defaultPackage: 'vite', provenance, packageManager: 'pnpm' })
8+
publish({ defaultPackage: 'rolldown-vite', provenance, packageManager: 'pnpm' })

scripts/release.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import extendCommitHash from './extendCommitHash'
55

66
release({
77
repo: 'vite',
8-
packages: ['vite', 'create-vite', 'plugin-legacy'],
8+
packages: ['rolldown-vite', 'create-vite', 'plugin-legacy'],
99
toTag: (pkg, version) =>
10-
pkg === 'vite' ? `v${version}` : `${pkg}@${version}`,
10+
pkg === 'rolldown-vite' ? `v${version}` : `${pkg}@${version}`,
1111
logChangelog: (pkg) => logRecentCommits(pkg),
1212
generateChangelog: async (pkgName) => {
1313
if (pkgName === 'create-vite') await updateTemplateVersions()
@@ -23,7 +23,8 @@ release({
2323
'--commit-path',
2424
'.',
2525
]
26-
if (pkgName !== 'vite') changelogArgs.push('--lerna-package', pkgName)
26+
if (pkgName !== 'rolldown-vite')
27+
changelogArgs.push('--lerna-package', pkgName)
2728
await run('npx', changelogArgs, { cwd: `packages/${pkgName}` })
2829
// conventional-changelog generates links with short commit hashes, extend them to full hashes
2930
extendCommitHash(`packages/${pkgName}/CHANGELOG.md`)

0 commit comments

Comments
 (0)