Skip to content

Commit eb9c376

Browse files
authored
Merge branch 'main' into main
2 parents 435b54a + 5652bf9 commit eb9c376

File tree

349 files changed

+14850
-8596
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

349 files changed

+14850
-8596
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: 🐞 Bug report
22
description: Report an issue with Vitest
33
labels: [pending triage]
4+
type: Bug
45
body:
56
- type: markdown
67
attributes:

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: 🚀 New feature proposal
22
description: Propose a new feature to be added to Vitest
33
labels: ['enhancement: pending triage']
4+
type: Feature
45
body:
56
- type: markdown
67
attributes:

.github/actions/setup-and-cache/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111

1212
steps:
1313
- name: Install pnpm
14-
uses: pnpm/action-setup@v4
14+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
1515

1616
- name: Set node version to ${{ inputs.node-version }}
1717
uses: actions/setup-node@v4

.github/renovate.json5

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["config:base", "schedule:weekly", "group:allNonMajor"],
3+
"extends": ["config:recommended", "schedule:weekly", "group:allNonMajor"],
44
"labels": ["dependencies"],
55
"rangeStrategy": "bump",
66
"packageRules": [
@@ -9,8 +9,13 @@
99
"matchPackageNames": ["/eslint/"]
1010
},
1111
{
12-
"depTypeList": ["peerDependencies"],
12+
"matchDepTypes": ["peerDependencies"],
1313
"enabled": false
14+
},
15+
{
16+
"matchDepTypes": ["action"],
17+
"matchPackageNames": ["!actions/{/,}**", "!github/{/,}**"],
18+
"pinDigests": true
1419
}
1520
],
1621
"ignoreDeps": [
@@ -30,6 +35,11 @@
3035
// Transitive dependency that we patch
3136
"acorn",
3237
// Keep using codemirror 5
33-
"codemirror"
38+
"codemirror",
39+
"react-18",
40+
"react-is-18"
41+
],
42+
"ignorePaths": [
43+
"**/node_modules/**"
3444
]
3545
}

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363

6464
- name: Get changed files
6565
id: changed-files
66-
uses: tj-actions/changed-files@dcc7a0cba800f454d79fff4b993e8c3555bcc0a8 # v45.0.7
66+
uses: tj-actions/changed-files@a284dc1814e3fd07f2e34267fc8f81227ed29fb8 # v45.0.9
6767
with:
6868
files: |
6969
docs/**
@@ -97,7 +97,7 @@ jobs:
9797
with:
9898
node-version: ${{ matrix.node_version }}
9999

100-
- uses: browser-actions/setup-chrome@v1
100+
- uses: browser-actions/setup-chrome@c785b87e244131f27c9f19c1a33e2ead956ab7ce # v1.7.3
101101

102102
- name: Install
103103
run: pnpm i
@@ -139,8 +139,8 @@ jobs:
139139
with:
140140
node-version: 20
141141

142-
- uses: browser-actions/setup-chrome@v1
143-
- uses: browser-actions/setup-firefox@v1
142+
- uses: browser-actions/setup-chrome@c785b87e244131f27c9f19c1a33e2ead956ab7ce # v1.7.3
143+
- uses: browser-actions/setup-firefox@634a60ccd6599686158cf5a570481b4cd30455a2 # v1.5.4
144144

145145
- name: Install
146146
run: pnpm i

.github/workflows/cr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
fetch-depth: 0
2525

2626
- name: Install pnpm
27-
uses: pnpm/action-setup@v4
27+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
2828

2929
- name: Set node version to 20
3030
uses: actions/setup-node@v4

.github/workflows/ecosystem-ci-trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
repo: pr.head.repo.full_name
6262
}
6363
- id: generate-token
64-
uses: tibdex/github-app-token@v2
64+
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
6565
with:
6666
app_id: ${{ secrets.ECOSYSTEM_CI_GITHUB_APP_ID }}
6767
installation_retrieval_payload: '${{ github.repository_owner }}/vitest-ecosystem-ci'

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: needs reproduction
12-
uses: actions-cool/issues-helper@v3
12+
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3.6.0
1313
with:
1414
actions: close-issues
1515
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/issue-labeled.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- name: needs reproduction
1212
if: github.event.label.name == 'needs reproduction'
13-
uses: actions-cool/issues-helper@v3
13+
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3.6.0
1414
with:
1515
actions: create-comment
1616
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/lock-closed-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.repository == 'vitest-dev/vitest'
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: dessant/lock-threads@v5
15+
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
1616
with:
1717
github-token: ${{ secrets.GITHUB_TOKEN }}
1818
issue-inactive-days: '14'

0 commit comments

Comments
 (0)