-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- changed `electron` to `desktop` - update `./dev` commands ```bash gen Check all the generated code is up to date. Otherwise run the code generation process to fix it. run-desktop Run frontend desktop app for development. build-desktop Builds the desktop app for the current platform. validate-desktop Formats, Validates and test the desktop app run-site Run sites app for development. build-site Build site app for production. validate-site Formats, Validates and test the site app run-backend Build and run mintterd binary for the current platform. build-backend Build mintterd binary for the current platform. run-gw-backend Build and run backend for mintter web gateway. ping-p2p Execute ping utility to check visibility. release Cut a new release. ``` - new release workflow (scoped to the release branch until I talk with @burdiyan about the tag workflow - new validate frontend code workflows (`validate-site.yml` and `validate-desktop.yml`) - lint setup (no real linting yet) - test setup (no real tests yet) - no Tauri code anymore
- Loading branch information
Showing
154 changed files
with
3,539 additions
and
21,633 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dist | ||
out | ||
frontend/*.d.ts | ||
types/ | ||
frontend/packages/shared/src/client/.generated | ||
frontend/packages/ui/dist |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: CI setup | ||
|
||
description: | | ||
Sets up the CI environment for the project | ||
inputs: | ||
matrix-os: | ||
description: 'The Current OS' | ||
required: true | ||
# matrix-target: | ||
# description: "The Current Target" | ||
# required: true | ||
# matrix-goarch: | ||
# description: "The Current Go Arch" | ||
# required: true | ||
|
||
|
||
runs: | ||
using: 'composite' | ||
|
||
steps: | ||
- name: 'Setup Go' | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.19 | ||
|
||
- name: 'Install native packages' | ||
if: inputs.matrix-os == 'ubuntu-latest' | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf | ||
shell: bash | ||
|
||
- name: Setup cache Ubuntu | ||
uses: actions/cache@v3 | ||
if: inputs.matrix-os == 'ubuntu-latest' | ||
with: | ||
path: | | ||
~/.cache/go-build | ||
~/go/pkg/mod | ||
key: ${{ inputs.matrix-os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ inputs.matrix-os }}-go- | ||
- name: Setup cache Macos | ||
uses: actions/cache@v3 | ||
if: inputs.matrix-os == 'macos-latest' | ||
with: | ||
path: | | ||
~/Library/Caches/go-build | ||
~/go/pkg/mod | ||
key: ${{ inputs.matrix-os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ inputs.matrix-os }}-go- | ||
- name: Setup cache Windows | ||
uses: actions/cache@v3 | ||
if: inputs.matrix-os == 'windows-latest' | ||
with: | ||
path: | | ||
~\AppData\Local\go-build | ||
~\go\pkg\mod | ||
key: ${{ inputs.matrix-os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ inputs.matrix-os }}-go- | ||
- name: Install Node.js 20 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
cache: 'yarn' | ||
|
||
- name: Install Frontend Dependencies | ||
env: | ||
YARN_ENABLE_IMMUTABLE_INSTALLS: false | ||
run: | | ||
yarn | ||
shell: bash |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.