Skip to content

Commit

Permalink
Changed node version to run on workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Soryyyn committed Nov 3, 2022
1 parent b26a4d8 commit 7951017
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.6.0
node-version: 18.12.0
cache: "yarn"
- name: Install dependencies
run: yarn
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ yarn-error.log*
.env.test.local
.env.production.local

# husky
.husky/_/

# app
config.json
.log
.webpack/
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"start": "set CLEAR_CACHE=0 && set MINIMIZE=0 && electron-forge start",
"start:fresh": "set CLEAR_CACHE=1 && set MINIMIZE=0 && electron-forge start",
"make": "electron-forge make",
"publish": "electron-forge publish"
"publish": "electron-forge publish",
"prepare": "husky install && husky add .husky/pre-commit \"yarn run lint-staged\""
},
"lint-staged": {
"**/*.{ts,tsx,json,html,scss,yml,md,js}": "prettier --write ."
Expand Down
5 changes: 1 addition & 4 deletions src/main/electron/ipc.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { app, ipcMain, shell } from "electron";
import { Channels } from "../common/channels";
import { getFarmByName, getFarms, getSidebarItems } from "../farms/management";
// import { getApplicationSettings, getFarmsData, updateApplicationSettings, updateFarmsData } from "../config";
// import { deleteFarm, getFarmByName, getFarmRendererData, getFarms } from "../farms/management";
import type FarmTemplate from "../farms/template";
import { getFarmByName, getSidebarItems } from "../farms/management";
import { log } from "../util/logger";
import {
getSettings,
Expand Down

0 comments on commit 7951017

Please sign in to comment.