Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 2 additions & 29 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
- name: Build and push Docker image
id: push
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: .
push: true
Expand All @@ -108,30 +108,3 @@ jobs:
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

release:
name: Build Electron Release
if: github.ref == 'refs/heads/main'
runs-on: ${{ matrix.os }}
needs:
- check
- test
- lint
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci
- name: Build Electron App
run: npm run electron:build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VITE_API_HOST: https://invites.northsky.social
2 changes: 1 addition & 1 deletion .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
persist-credentials: false

- name: Run zizmor
uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2
uses: zizmorcore/zizmor-action@cc914d7f3750a2d13d75c7f184a1060aa0e9d482 # v0.6.4
with:
# Annotate the PR directly instead of uploading SARIF to the
# security tab, and fail the check on any finding
Expand Down
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,6 @@ npm run dev
npm run build
```

### Desktop Executable

To generate a local executable for your current platform:

```bash
npm run electron:build
```

The executable will be located in the `release` directory.

To run the application in desktop mode for development:

```bash
npm run electron:dev
```

### Local HTTPS Development

This project supports local HTTPS development using [Caddy](https://caddyserver.com/).
Expand Down
41 changes: 0 additions & 41 deletions electron/main.js

This file was deleted.

5 changes: 0 additions & 5 deletions electron/preload.cjs

This file was deleted.

11 changes: 0 additions & 11 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,6 @@ export default ts.config(
'jsx-a11y/no-autofocus': 'off',
},
},
{
files: ['electron/**/*.js', 'electron/**/*.cjs'],
languageOptions: {
globals: {
...globals.node,
},
},
rules: {
'@typescript-eslint/no-require-imports': 'off',
},
},
{
ignores: ['dist', 'release', 'node_modules', '.github', '*.config.js', '*.config.ts', 'assets'],
},
Expand Down
Loading
Loading