Skip to content

Commit 9b7ffa3

Browse files
committed
fix: install packages issues
1 parent c11aea4 commit 9b7ffa3

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

.depcheckrc.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"@swc/cli",
1212
"@swc/core",
1313
"ts-node",
14-
"typedoc"
14+
"typedoc",
15+
"@actions/core",
16+
"@actions/github"
1517
]
16-
}
18+
}

.github/scripts/remove-rca-needed-label-sheets.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
// Note: These packages are installed at runtime in the GitHub Actions workflow
2+
// @ts-ignore - @actions/core is not in devDependencies
13
import * as core from '@actions/core';
4+
// @ts-ignore - @actions/github is not in devDependencies
25
import { context, getOctokit } from '@actions/github';
6+
// @ts-ignore - @actions/github is not in devDependencies
37
import { GitHub } from '@actions/github/lib/utils';
8+
// @ts-ignore - googleapis types may not be available locally
49
import { google } from 'googleapis';
510

611
interface Label {

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
"simple-git": "3.27.0"
3939
},
4040
"devDependencies": {
41-
"@actions/core": "^1.10.1",
42-
"@actions/github": "^6.0.0",
4341
"@lavamoat/allow-scripts": "^2.3.1",
4442
"@lavamoat/preinstall-always-fail": "^1.0.0",
4543
"@metamask/eslint-config": "^12.0.0",

0 commit comments

Comments
 (0)