Remove yarn, switch to npm

Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-13 09:15:12 +00:00
parent d8d1962333
commit 0ff85181fc
5 changed files with 2560 additions and 1138 deletions

View file

@ -12,14 +12,14 @@ 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: ./
@ -28,7 +28,7 @@ jobs:
header: All
message: |
<details open>
<summary>Output of yarn all</summary>
<summary>Output of npm run all</summary>
```shell
${{ env.all_result }}

9
.gitignore vendored
View file

@ -2,11 +2,10 @@ __tests__/runner/*
lib/*
rollup.config.js
# ^^^ compiled output of rollup.config.ts (generated by --configPlugin at build time)
# comment out in distribution branches
node_modules/
package-lock.json
# Rest pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
# Logs
logs
@ -68,8 +67,8 @@ typings/
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# Yarn lock file
yarn.lock
# dotenv environment variables file
.env
@ -97,5 +96,3 @@ typings/
.dynamodb/
.vscode/
.yarn.lock

2552
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -15,7 +15,7 @@
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"build_test": "tsc && vitest run",
"all": "yarn build && yarn format && yarn lint && yarn package && yarn test"
"all": "npm run build && npm run format && npm run lint && npm run package && npm run test"
},
"repository": {
"type": "git",

1127
yarn.lock

File diff suppressed because it is too large Load diff