Skip to content

Commit bb261d9

Browse files
committed
Change yarn for npm on config file for gh actions
1 parent d7d17fd commit bb261d9

1 file changed

Lines changed: 4 additions & 13 deletions

File tree

.github/workflows/deploy-itch.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,17 @@ jobs:
2222
- uses: actions/setup-node@v4
2323
with:
2424
node-version: 22
25-
cache: yarn
26-
cache-dependency-path: client/yarn.lock
27-
28-
# GitHub runners ship Yarn 1 at /usr/local/bin/yarn, which shadows Corepack.
29-
- name: Enable Corepack (Yarn 4)
30-
working-directory: .
31-
run: |
32-
sudo rm -f "$(command -v yarn)" "$(command -v yarnpkg)" || true
33-
corepack enable
34-
corepack prepare yarn@4.5.1 --activate
35-
yarn --version
3625

26+
# Avoid Yarn/Corepack on the runner (global Yarn 1 conflicts with packageManager).
27+
# npm is enough here — we only need a production webpack build.
3728
- name: Install dependencies
38-
run: yarn install --immutable
29+
run: npm install
3930

4031
- name: Build
4132
env:
4233
# itch.io hosts static files only — connect to the live Deno game server
4334
WS_URL: wss://tiny-land.diguifi.deno.net/ws
44-
run: yarn build
35+
run: npm run build
4536

4637
- name: Install Butler
4738
working-directory: .

0 commit comments

Comments
 (0)