mirror of
https://github.com/EthanShoeDev/fressh.git
synced 2026-01-10 22:02:50 +00:00
ci
This commit is contained in:
5
.github/workflows/check.yml
vendored
5
.github/workflows/check.yml
vendored
@@ -47,7 +47,7 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-pnpm-store-
|
${{ runner.os }}-pnpm-store-
|
||||||
|
|
||||||
- name: Cache turbo build setup
|
- name: Cache Turbo
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: .turbo
|
path: .turbo
|
||||||
@@ -59,8 +59,7 @@ jobs:
|
|||||||
${{ runner.os }}-turbo-${{ github.ref_name }}-
|
${{ runner.os }}-turbo-${{ github.ref_name }}-
|
||||||
${{ runner.os }}-turbo-
|
${{ runner.os }}-turbo-
|
||||||
|
|
||||||
- name: Install dependencies
|
- run: pnpm install
|
||||||
run: pnpm install
|
|
||||||
|
|
||||||
- run: pnpm exec turbo lint:check
|
- run: pnpm exec turbo lint:check
|
||||||
|
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ COPY apps/web/package.json ./apps/web/
|
|||||||
COPY packages/react-native-uniffi-russh/package.json ./packages/react-native-uniffi-russh/
|
COPY packages/react-native-uniffi-russh/package.json ./packages/react-native-uniffi-russh/
|
||||||
COPY packages/react-native-xtermjs-webview/package.json ./packages/react-native-xtermjs-webview/
|
COPY packages/react-native-xtermjs-webview/package.json ./packages/react-native-xtermjs-webview/
|
||||||
COPY packages/assets/package.json ./packages/assets/
|
COPY packages/assets/package.json ./packages/assets/
|
||||||
RUN --mount=type=cache,target=/pnpm/store,id=fressh-pnpm,sharing=locked \
|
# RUN --mount=type=cache,target=/pnpm/store,id=fressh-pnpm,sharing=locked \
|
||||||
nix develop -c pnpm install --frozen-lockfile --offline
|
# nix develop -c pnpm install --frozen-lockfile --offline
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN --mount=type=cache,target=/pnpm/store,id=fressh-pnpm,sharing=locked \
|
RUN --mount=type=cache,target=/pnpm/store,id=fressh-pnpm,sharing=locked \
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"fmt:root": "prettier --cache --write .",
|
"fmt:root": "prettier --cache --write .",
|
||||||
"fmt:check:root": "prettier --check .",
|
"fmt:check:root": "prettier --check .",
|
||||||
"fmt:root:nix": "nix fmt flake.nix",
|
"fmt:root:nix": "nix fmt flake.nix",
|
||||||
"fmt:check:root:nix": "nix fmt flake.nix -- --c",
|
"fmt:check:root:nix": "nix fmt flake.nix -- -c",
|
||||||
"syncpack:fix": "syncpack list-mismatches || (syncpack fix-mismatches && pnpm i)",
|
"syncpack:fix": "syncpack list-mismatches || (syncpack fix-mismatches && pnpm i)",
|
||||||
"syncpack:check": "syncpack list-mismatches",
|
"syncpack:check": "syncpack list-mismatches",
|
||||||
"jscpd:check": "cross-env NODE_OPTIONS=--max-old-space-size=8192 jscpd --config .jscpd.json",
|
"jscpd:check": "cross-env NODE_OPTIONS=--max-old-space-size=8192 jscpd --config .jscpd.json",
|
||||||
|
|||||||
Reference in New Issue
Block a user