Skip to content

Commit

Permalink
chore: bump required node version
Browse files Browse the repository at this point in the history
  • Loading branch information
marcincichocki authored Jan 17, 2023
1 parent 011ef91 commit e6379c0
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16'
- run: npm ci
- run: npm test
- name: Build/release Electron app
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16'
- run: npm ci
- run: npm test
- run: npm run electron:build -- --publish never
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"description": "Automatically solve breach protocol minigame in Cyberpunk 2077",
"main": "dist/main.js",
"private": true,
"engines": {
"npm": ">=8.0.0 <9.0.0",
"node": ">=16.0.0 <17.0.0"
},
"sideEffects": [
"src/electron/renderer/styles/fonts.css",
"src/electron/worker/error-handler.ts"
Expand Down Expand Up @@ -101,7 +105,7 @@
"@types/node": "^16.18.3",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.8",
"@types/sharp": "^0.31.0",
"@types/sharp": "^0.31.1",
"@types/styled-components": "^5.1.26",
"@types/tar": "^6.1.3",
"@types/uuid": "^8.3.4",
Expand Down
2 changes: 1 addition & 1 deletion src/core/ocr/image-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface Dimensions {
export interface FragmentContainerConfig {
boundingBox: FragmentBoundingBox;
colors?: number;
channel?: string;
channel?: 'red' | 'green' | 'blue';
flop?: boolean;
width?: number;
}
Expand Down

0 comments on commit e6379c0

Please sign in to comment.