Skip to content

Commit bcac959

Browse files
committed
fix: remove unnecessary apt update command and add node types to tsconfig
1 parent 6fe8da0 commit bcac959

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run_install: false
2323

2424
- name: Install yq via apt
25-
run: sudo apt update && sudo apt install -y yq
25+
run: sudo apt install -y yq
2626

2727
- name: Install Node.js
2828
uses: actions/setup-node@v4

tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
// "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
4343
// "noUncheckedSideEffectImports": true, /* Check side effect imports. */
4444
"resolveJsonModule": true,
45+
"types": [
46+
"node"
47+
],
4548
/* Type Checking */
4649
"strict": true, /* Enable all strict type-checking options. */
4750
// "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */

0 commit comments

Comments
 (0)