Skip to content

Commit

Permalink
chore: bump deps (#3486)
Browse files Browse the repository at this point in the history
  • Loading branch information
amilajack committed Jun 4, 2023
1 parent 4b71604 commit 8d3efc1
Show file tree
Hide file tree
Showing 6 changed files with 1,863 additions and 1,438 deletions.
4 changes: 2 additions & 2 deletions .erb/scripts/clean.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import rimraf from 'rimraf';
import { rimrafSync } from 'rimraf';
import fs from 'fs';
import webpackPaths from '../configs/webpack.paths';

Expand All @@ -9,5 +9,5 @@ const foldersToRemove = [
];

foldersToRemove.forEach((folder) => {
if (fs.existsSync(folder)) rimraf.sync(folder);
if (fs.existsSync(folder)) rimrafSync(folder);
});
6 changes: 3 additions & 3 deletions .erb/scripts/delete-source-maps.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import fs from 'fs';
import path from 'path';
import rimraf from 'rimraf';
import { rimrafSync } from 'rimraf';
import webpackPaths from '../configs/webpack.paths';

export default function deleteSourceMaps() {
if (fs.existsSync(webpackPaths.distMainPath))
rimraf.sync(path.join(webpackPaths.distMainPath, '*.js.map'), {
rimrafSync(path.join(webpackPaths.distMainPath, '*.js.map'), {
glob: true,
});
if (fs.existsSync(webpackPaths.distRendererPath))
rimraf.sync(path.join(webpackPaths.distRendererPath, '*.js.map'), {
rimrafSync(path.join(webpackPaths.distRendererPath, '*.js.map'), {
glob: true,
});
}
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install Node and NPM
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: npm

- name: Install and build
Expand All @@ -37,7 +37,7 @@ jobs:
env:
# These values are used for auto updates signing
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASS: ${{ secrets.APPLE_ID_PASS }}
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASS }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
# This is used for uploading release assets to github
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install Node.js and NPM
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: npm

- name: npm install
Expand Down
Loading

0 comments on commit 8d3efc1

Please sign in to comment.