Skip to content

Commit

Permalink
chore: update packages to fix vulns (see description)
Browse files Browse the repository at this point in the history
also github actions now

[CVE-2024-27303](GHSA-r4pf-3v7r-hh55)
  • Loading branch information
SrIzan10 committed Mar 7, 2024
1 parent f3e882f commit c36a449
Show file tree
Hide file tree
Showing 4 changed files with 793 additions and 1,276 deletions.
50 changes: 0 additions & 50 deletions .circleci/config.yml

This file was deleted.

18 changes: 16 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,28 @@ jobs:

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 18

- name: Install packages
run: yarn

- name: Build electron index.ts file
run: yarn electron-build

- name: Move artifacts
run: |
mkdir -p /tmp/artifacts
if [ ${{ matrix.os }} == 'windows-latest' ]; then
mv dist/*.exe /tmp/artifacts
elif [ ${{ matrix.os }} == 'macos-latest' ]; then
mv dist/*.dmg /tmp/artifacts
else
mv dist/*.AppImage /tmp/artifacts
fi
- name: Upload artifacts
uses: actions/upload-artifact@v1
with:
name: application
path: /tmp/artifacts

- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@vitejs/plugin-react-swc": "^3.3.2",
"concurrently": "^8.2.2",
"electron": "^28.1.0",
"electron-builder": "^24.4.0",
"electron-builder": "^24.13.3",
"eslint": "^8.44.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.1",
Expand Down
Loading

0 comments on commit c36a449

Please sign in to comment.