diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 9694c8f..d3a096a 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -39,7 +39,8 @@ jobs: ${{ 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 diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 03fce8a..3a408f5 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -44,7 +44,8 @@ jobs: ${{ 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: | diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 1583970..72b3920 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -51,4 +51,5 @@ jobs: ${{ 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 diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index d9ee579..6495cb4 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -40,7 +40,8 @@ jobs: ${{ 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