Compare commits

...

2 Commits

Author SHA1 Message Date
Ilia Mashkov
8b704f1f82 fix(workflow): change the yarn install flags
Some checks failed
Test / Svelte Checks (push) Failing after 33s
Lint / Lint Code (push) Failing after 29s
2026-01-14 12:40:56 +03:00
Ilia Mashkov
36ed19e195 fix(workflow): yarn cache path 2026-01-14 12:39:30 +03:00
4 changed files with 12 additions and 8 deletions

View File

@@ -33,13 +33,14 @@ jobs:
uses: actions/cache@v4
id: yarn-cache
with:
path: ~/.cache/yarn
path: ${{ github.workspace }}/.yarn/cache
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile --prefer-offline
# --immutable ensures the lockfile isn't changed (replaces --frozen-lockfile)
run: yarn install --immutable
- name: Build Svelte App
run: yarn build

View File

@@ -38,13 +38,14 @@ jobs:
uses: actions/cache@v4
id: yarn-cache
with:
path: ~/.cache/yarn
path: ${{ github.workspace }}/.yarn/cache
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile --prefer-offline
# --immutable ensures the lockfile isn't changed (replaces --frozen-lockfile)
run: yarn install --immutable
- name: Validation
run: |

View File

@@ -45,10 +45,11 @@ jobs:
uses: actions/cache@v4
id: yarn-cache
with:
path: ~/.cache/yarn
path: ${{ github.workspace }}/.yarn/cache
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile --prefer-offline
# --immutable ensures the lockfile isn't changed (replaces --frozen-lockfile)
run: yarn install --immutable

View File

@@ -34,13 +34,14 @@ jobs:
uses: actions/cache@v4
id: yarn-cache
with:
path: ~/.cache/yarn
path: ${{ github.workspace }}/.yarn/cache
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile --prefer-offline
# --immutable ensures the lockfile isn't changed (replaces --frozen-lockfile)
run: yarn install --immutable
- name: Type Check
run: yarn svelte-check --threshold warning