Skip to content

Commit

Permalink
Version 0.14.1 (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bwc9876 authored Jul 3, 2024
2 parents 1073e2a + d7e31ae commit c9c0cb4
Show file tree
Hide file tree
Showing 44 changed files with 6,841 additions and 4,162 deletions.
28 changes: 4 additions & 24 deletions .github/workflows/ci_js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,33 +33,13 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
node-version-file: owmods_gui/frontend/package.json

- name: Install Dependencies
run: pnpm install
run: npm install

- name: Lint
run: pnpm lint-dry
run: npm run lint-dry

- name: Check Formatting
run: pnpm prettier-check
run: npm run prettier-check
26 changes: 3 additions & 23 deletions .github/workflows/nightly_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,34 +41,14 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ matrix.platform }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ matrix.platform }}-pnpm-store-
node-version-file: owmods_gui/frontend/package.json

- name: Install Frontend Dependencies
working-directory: owmods_gui/frontend
run: pnpm install
run: npm install

- name: Install Tauri CLI
run: pnpm add -g @tauri-apps/cli
run: npm add -g @tauri-apps/cli

- name: Build GUI
run: tauri build --ci -b $([[ ${{ matrix.platform }} = 'windows-latest' ]] && echo 'msi nsis' || echo 'appimage deb')
Expand Down
24 changes: 2 additions & 22 deletions .github/workflows/release_gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,31 +36,11 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ matrix.platform }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ matrix.platform }}-pnpm-store-
node-version-file: owmods_gui/frontend/package.json

- name: Install Frontend Dependencies
working-directory: owmods_gui/frontend
run: pnpm install
run: npm install

- name: Build GUI
uses: tauri-apps/tauri-action@dev
Expand Down
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"type": "node-terminal",
"request": "launch",
"cwd": "${workspaceFolder}/owmods_gui/frontend",
"command": "pnpm dev"
"command": "npm run dev"
}
]
}
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ I tried to automate this process in a way that makes sense but it still needs so
3. `owmods_gui/backend/Cargo.toml` - **also update the reference to owmods_core if it was updated**
4. `nix/owmods-cli.nix`
5. `nix/owmods-gui.nix`
6. `owmods_gui/frontend/package.json` - used by `pnpm2nix` to generate a derivation for the frontend
6. `owmods_gui/frontend/package.json`
7. `xtask/Cargo.toml` - not the end of the world if you don't update this, determines the version shown in man pages for the CLI
2. Merge `dev` to `main` (assuming you have a PR going)
3. Run the "Create Core Release" action
Expand Down
Loading

0 comments on commit c9c0cb4

Please sign in to comment.