mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2026-04-11 08:50:04 +00:00
π Version bump (#1658)
* Fix failed ncc build (#1657) * Initial plan * Replace @vercel/ncc with esbuild to support @actions/core@3.0.0 (ESM-only) Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com> * π¦οΈ Build * Replace esbuild with rimraf + rollup for packaging Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com> * Remove rollup.config.js build artifact from git tracking Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com> * Remove yarn, switch to npm Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com> Co-authored-by: marocchino <marocchino@users.noreply.github.com> * π Version bump * π Update condition * π§ Update tsconfig * Fix ERR_PACKAGE_PATH_NOT_EXPORTED with Node.js v24 and ESM-only @actions packages (#1659) * Initial plan * Initial plan for fixing ESM-only @actions packages build failure Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com> * Fix build failure: update tsconfig and rollup config for ESM-only @actions packages Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com> --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
This commit is contained in:
parent
7d67ef6450
commit
aaf617804e
11 changed files with 35238 additions and 65487 deletions
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
|
|
@ -13,30 +13,30 @@ jobs:
|
|||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- run: yarn install
|
||||
- run: npm ci
|
||||
- run: |
|
||||
set -o pipefail
|
||||
mkdir -p ./pr
|
||||
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
||||
echo "all_result<<$EOF" >> "$GITHUB_ENV"
|
||||
yarn all >> "$GITHUB_ENV" 2>&1 || true # proceed even if yarn fails
|
||||
echo >> "$GITHUB_ENV" # yarn all doesn't necessarily produce a newline
|
||||
npm run all >> "$GITHUB_ENV" 2>&1 || true # proceed even if npm run all fails
|
||||
echo >> "$GITHUB_ENV" # npm run all doesn't necessarily produce a newline
|
||||
echo "$EOF" >> "$GITHUB_ENV"
|
||||
id: all
|
||||
- uses: ./
|
||||
if: ${{ github.event_name == 'pull_request_target' }}
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
with:
|
||||
header: All
|
||||
message: |
|
||||
<details open>
|
||||
<summary>Output of yarn all</summary>
|
||||
<summary>Output of npm run all</summary>
|
||||
|
||||
```shell
|
||||
${{ env.all_result }}
|
||||
```
|
||||
</details>
|
||||
- uses: ./
|
||||
if: ${{ github.event_name == 'pull_request_target' }}
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
with:
|
||||
header: All
|
||||
append: true
|
||||
|
|
|
|||
Loadingβ¦
Add table
Add a link
Reference in a new issue