mirror of
https://github.com/ivabus/gui
synced 2025-04-23 05:57:11 +03:00
Readme select (#620)
* #564 make README selectable * bump v0.2.17 * cache node_modules * make e2e test pass: refresh package after install
This commit is contained in:
parent
cb3848dd93
commit
12b6e1f33d
4 changed files with 29 additions and 5 deletions
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
|
@ -51,6 +51,16 @@ jobs:
|
|||
with:
|
||||
version: 0.31.2
|
||||
- uses: actions/checkout@v3
|
||||
- name: cache node_modules build
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
key: test-ubuntu
|
||||
path: |
|
||||
./pnpm
|
||||
./.pnpm-store
|
||||
./node_modules
|
||||
./modules/desktop/node_modules
|
||||
./modules/ui/node_modules
|
||||
- name: env file
|
||||
run: cp modules/desktop/.env.example modules/desktop/.env
|
||||
- name: install app dependencies
|
||||
|
@ -76,6 +86,16 @@ jobs:
|
|||
with:
|
||||
version: 0.31.2
|
||||
- uses: actions/checkout@v3
|
||||
- name: cache node_modules build
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
key: e2e-macos
|
||||
path: |
|
||||
./pnpm
|
||||
./.pnpm-store
|
||||
./node_modules
|
||||
./modules/desktop/node_modules
|
||||
./modules/ui/node_modules
|
||||
- name: env file
|
||||
run: cp modules/desktop/.env.example modules/desktop/.env
|
||||
- name: install app dependencies
|
||||
|
@ -97,10 +117,6 @@ jobs:
|
|||
version: 0.31.2
|
||||
- uses: actions/checkout@v3
|
||||
- name: cache node_modules build
|
||||
# TODO: cache issue in our self-hosted macos runner ESPIPE: invalid seek, read
|
||||
# but its ok to ignore, its still the fastest builder
|
||||
# NOTE: enabling cache in the self hosted runner slows down the pipeline by 4m because post-cache builder error ^
|
||||
if: startsWith(inputs.platform, 'linux') || matrix.platform.name == 'darwin+x86-64'
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
key: ubuntu-latest-pnpm
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "tea",
|
||||
"version": "0.2.16",
|
||||
"version": "0.2.17",
|
||||
"private": true,
|
||||
"description": "tea gui app",
|
||||
"author": "tea.xyz",
|
||||
|
|
|
@ -217,6 +217,9 @@ const installPkg = async (pkg: GUIPackage, version?: string) => {
|
|||
updatePackage(pkg.full_name, { install_progress_percentage: 0.01 });
|
||||
await installPackage(pkg, versionToInstall);
|
||||
trackInstall(pkg.full_name);
|
||||
|
||||
await refreshPackages(); // helps e2e tests might not be the most efficient but helps
|
||||
|
||||
notificationStore.add({
|
||||
message: `Package ${pkg.full_name} v${versionToInstall} has been installed.`
|
||||
});
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
word-wrap: break-word;
|
||||
user-select: text;
|
||||
-webkit-user-select: text;
|
||||
-moz-user-select: text;
|
||||
-ms-user-select: text;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
.markdown-body .octicon {
|
||||
|
|
Loading…
Reference in a new issue