Skip to content

Commit 9965f30

Browse files
committed
chore: Updated dependencies.
1 parent f5a1a9f commit 9965f30

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,15 @@ jobs:
1414
- name: Restore cached dependencies
1515
uses: actions/cache@v2
1616
with:
17-
path: node_modules
17+
path: ~/.pnpm-store
1818
key: node-modules-${{ hashFiles('package.json') }}
1919
- name: Install dependencies
20-
run: npm install
20+
uses: pnpm/action-setup@v2
21+
with:
22+
version: latest
23+
run_install: true
2124
- name: Run Tests
22-
run: npm run ci
25+
run: pnpm run ci
2326
- name: Upload coverage to Codecov
2427
uses: codecov/codecov-action@v1
2528
with:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@
5757
"undici": "^4.15.0"
5858
},
5959
"devDependencies": {
60-
"@cowtech/eslint-config": "^8.4.0",
60+
"@cowtech/eslint-config": "^8.6.1",
6161
"@swc/cli": "^0.1.55",
6262
"@swc/core": "^1.2.150",
6363
"@types/node": "^17.0.21",
6464
"@types/tap": "^15.0.6",
6565
"c8": "^7.11.0",
6666
"chokidar": "^3.5.3",
6767
"prettier": "^2.5.1",
68-
"tap": "^15.2.3",
68+
"tap": "^16.0.0",
6969
"ts-node": "^10.7.0",
7070
"typescript": "^4.6.2"
7171
},

test/config/c8-ci.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
"functions": 90,
66
"lines": 90,
77
"statements": 90
8-
}
8+
}

test/config/c8-local.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"reporter": ["text", "html"]
3-
}
3+
}

test/files.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ t.test('fastimage.info', t => {
4545

4646
t.test('should return a error when the path cannot be read', t => {
4747
const unreadablePath = imagePath.replace('image.png', 'unreadable.png')
48-
writeFileSync(unreadablePath, 'foo', 'utf-8')
48+
writeFileSync(unreadablePath, 'foo', 'utf8')
4949
chmodSync(unreadablePath, 0)
5050

5151
info(unreadablePath, (error, data) => {

0 commit comments

Comments
 (0)