chore(workflow): delete comments
This commit is contained in:
@@ -17,38 +17,21 @@ jobs:
|
|||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '25'
|
node-version: '25'
|
||||||
# We handle caching manually below to ensure
|
|
||||||
# corepack-managed yarn is used correctly.
|
|
||||||
|
|
||||||
- name: Enable Corepack
|
- name: Enable Corepack
|
||||||
run: |
|
run: |
|
||||||
corepack enable
|
corepack enable
|
||||||
corepack prepare yarn@stable --activate
|
corepack prepare yarn@stable --activate
|
||||||
|
|
||||||
# - name: Get yarn cache directory path
|
|
||||||
# id: yarn-cache-dir-path
|
|
||||||
# run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
# - name: Persistent Yarn Cache
|
|
||||||
# uses: actions/cache@v4
|
|
||||||
# id: yarn-cache
|
|
||||||
# with:
|
|
||||||
# path: ${{ github.workspace }}/.yarn/cache
|
|
||||||
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
||||||
# restore-keys: ${{ runner.os }}-yarn-
|
|
||||||
#
|
|
||||||
- name: Persistent Yarn Cache
|
- name: Persistent Yarn Cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
id: yarn-cache
|
id: yarn-cache
|
||||||
with:
|
with:
|
||||||
# In Yarn Berry, the cache is local to the project
|
|
||||||
path: .yarn/cache
|
path: .yarn/cache
|
||||||
# Ensure a clean key without hidden newline characters
|
|
||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
restore-keys: ${{ runner.os }}-yarn-
|
restore-keys: ${{ runner.os }}-yarn-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
# --immutable ensures the lockfile isn't changed (replaces --frozen-lockfile)
|
|
||||||
run: yarn install --immutable
|
run: yarn install --immutable
|
||||||
|
|
||||||
- name: Build Svelte App
|
- name: Build Svelte App
|
||||||
|
|||||||
Reference in New Issue
Block a user