Skip to content

Commit

Permalink
chore(ci): add pnpm workspace for github actions (#52976)
Browse files Browse the repository at this point in the history
This creates a monorepo for each github action and ensures they all use pnpm.

You can install and build all with the following:

```
cd .github
pnpm i
pnpm -r build
```
  • Loading branch information
styfle committed Jul 21, 2023
1 parent 319353e commit 032e8d0
Show file tree
Hide file tree
Showing 17 changed files with 1,143 additions and 10,063 deletions.
9,118 changes: 7 additions & 9,111 deletions .github/actions/issue-labeler/lib/index.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions .github/actions/issue-labeler/package.json
Expand Up @@ -4,7 +4,7 @@
"type": "module",
"exports": "./lib/index.js",
"scripts": {
"build": "pnpm types && pnpm ncc -m -o ./lib build src/index.ts --license licenses.txt",
"build": "pnpm types && ncc -m -o ./lib build src/index.ts --license licenses.txt",
"types": "tsc"
},
"dependencies": {
Expand All @@ -13,6 +13,7 @@
},
"devDependencies": {
"@types/node": "^18.15.3",
"@vercel/ncc": "0.36.1"
"@vercel/ncc": "0.36.1",
"typescript": "5.1.6"
}
}
4 changes: 2 additions & 2 deletions .github/actions/issue-validator/index.mjs

Large diffs are not rendered by default.

445 changes: 0 additions & 445 deletions .github/actions/issue-validator/package-lock.json

This file was deleted.

3 changes: 2 additions & 1 deletion .github/actions/issue-validator/package.json
Expand Up @@ -5,7 +5,8 @@
"build": "ncc -m -o . build src/index.mjs --license licenses.txt"
},
"devDependencies": {
"@vercel/ncc": "0.34.0"
"@vercel/ncc": "0.34.0",
"typescript": "5.1.6"
},
"dependencies": {
"@actions/core": "1.10.0",
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/minus-one/index.mjs

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions .github/actions/minus-one/package.json
Expand Up @@ -9,12 +9,12 @@
"build": "ncc -m -o . build src/index.mjs --license licenses.txt"
},
"devDependencies": {
"@vercel/ncc": "0.34.0"
"@vercel/ncc": "0.34.0",
"typescript": "5.1.6"
},
"dependencies": {
"@actions/core": "1.10.0",
"@actions/github": "5.1.1",
"@octokit/graphql": "7.0.1"
},
"packageManager": "npm@9.2.0"
}
}
4 changes: 2 additions & 2 deletions .github/actions/needs-triage/index.js

Large diffs are not rendered by default.

0 comments on commit 032e8d0

Please sign in to comment.