Skip to content

Commit 34c548d

Browse files
authored
Merge branch 'main' into colin/0123/entry-options
2 parents f2d86c9 + 8477ca6 commit 34c548d

303 files changed

Lines changed: 16212 additions & 2989 deletions

File tree

Some content is hidden

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

.github/ISSUE_TEMPLATE/1-bug-report.en-US.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "🐞 Bug Report"
22
description: Report a bug to Rspack
33
title: "[Bug]: "
44
type: Bug
5-
labels: ["bug", "pending triage"]
5+
labels: ["pending triage"]
66
body:
77
- type: markdown
88
attributes:

.github/ISSUE_TEMPLATE/2-feature-request.en-US.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "✨ Feature Request"
22
description: Submit a new feature request to Rspack
33
title: "[Feature]: "
44
type: Enhancement
5-
labels: ["feat", "pending triage"]
5+
labels: ["pending triage"]
66
body:
77
- type: markdown
88
attributes:

.github/actions/docker-build/action.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@ runs:
4242
${{ inputs.pre }}
4343
rustup target add ${{ inputs.target }}
4444
45-
# corepack > 0.24.1 will use native fetch
46-
# and native fetch not support HTTP_PROXY
47-
# https://github.com/nodejs/undici/issues/1650
48-
npm install -g [email protected]
45+
npm install -g [email protected] --force
46+
echo "Corepack version: $(corepack --version)"
4947
corepack enable
5048
5149
RUST_TARGET=${{ inputs.target }} pnpm build:binding:${{ inputs.profile }}

.github/actions/pnpm-cache/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ runs:
2828
if: ${{ inputs.node-version != '16' }}
2929
shell: bash
3030
run: |
31+
if [[ "${{runner.os}}" == "Windows" ]]; then
32+
# add the npm prefix to PATH to ensure the installed corepack work properly
33+
NPM_PREFIX=$(cygpath -u "$(npm config get prefix)")
34+
export PATH="$NPM_PREFIX:$PATH"
35+
fi
36+
npm install -g [email protected] --force
37+
echo "Corepack version: $(corepack --version)"
3138
corepack enable
3239
3340
# https://pnpm.io/continuous-integration#github-actions

.github/workflows/label-auto-comment.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ permissions:
1515

1616
jobs:
1717
issue-labeled:
18-
permissions:
1918
runs-on: ubuntu-latest
2019
steps:
2120
- name: 🤔 Need Reproduce

.github/workflows/lint-pr.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
- edited
88

99
permissions:
10-
# Allow `github/issue-labeler` to add labels
11-
issues: write
1210
# Allow `amannn/action-semantic-pull-request` to read pull requests
1311
pull-requests: read
1412

@@ -53,16 +51,3 @@ jobs:
5351
# Configure additional validation for the subject based on a regex.
5452
ignoreLabels: |
5553
bot
56-
57-
release-labeling:
58-
# See context at https://github.com/web-infra-dev/rspack/discussions/2760
59-
name: Labeling for releasing
60-
runs-on: ubuntu-latest
61-
steps:
62-
- uses: github/[email protected]
63-
with:
64-
repo-token: "${{ secrets.GITHUB_TOKEN }}"
65-
configuration-path: .github/pr-labeler.yml
66-
enable-versioned-regex: 0
67-
include-title: 1
68-
sync-labels: 1

.github/workflows/pr-labeler.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: PR Labeler
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
9+
permissions:
10+
# Allow `github/issue-labeler` to add labels
11+
issues: write
12+
pull-requests: write
13+
14+
jobs:
15+
release-labeling:
16+
# See context at https://github.com/web-infra-dev/rspack/discussions/2760
17+
name: Labeling for releasing
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: github/[email protected]
21+
with:
22+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
23+
configuration-path: .github/pr-labeler.yml
24+
enable-versioned-regex: 0
25+
include-title: 1
26+
sync-labels: 1

0 commit comments

Comments
 (0)