Skip to content

Commit

Permalink
chore: Updated dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShogunPanda committed Mar 7, 2022
1 parent f5a1a9f commit 9965f30
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ jobs:
- name: Restore cached dependencies
uses: actions/cache@v2
with:
path: node_modules
path: ~/.pnpm-store
key: node-modules-${{ hashFiles('package.json') }}
- name: Install dependencies
run: npm install
uses: pnpm/action-setup@v2
with:
version: latest
run_install: true
- name: Run Tests
run: npm run ci
run: pnpm run ci
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@
"undici": "^4.15.0"
},
"devDependencies": {
"@cowtech/eslint-config": "^8.4.0",
"@cowtech/eslint-config": "^8.6.1",
"@swc/cli": "^0.1.55",
"@swc/core": "^1.2.150",
"@types/node": "^17.0.21",
"@types/tap": "^15.0.6",
"c8": "^7.11.0",
"chokidar": "^3.5.3",
"prettier": "^2.5.1",
"tap": "^15.2.3",
"tap": "^16.0.0",
"ts-node": "^10.7.0",
"typescript": "^4.6.2"
},
Expand Down
2 changes: 1 addition & 1 deletion test/config/c8-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"functions": 90,
"lines": 90,
"statements": 90
}
}
2 changes: 1 addition & 1 deletion test/config/c8-local.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"reporter": ["text", "html"]
}
}
2 changes: 1 addition & 1 deletion test/files.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ t.test('fastimage.info', t => {

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

info(unreadablePath, (error, data) => {
Expand Down

0 comments on commit 9965f30

Please sign in to comment.