Skip to content

Commit accf9ad

Browse files
committed
fix: remove frozen-lockfile from matrix tests to install optional dependencies
1 parent d08dae9 commit accf9ad

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,10 @@ jobs:
144144
cache: 'pnpm'
145145

146146
- name: Install dependencies
147-
run: pnpm install --frozen-lockfile
148-
149-
- name: Install oxc-parser native bindings
150147
run: |
151-
# --frozen-lockfile doesn't install optional dependencies
152-
# Explicitly install the native binding required by oxc-parser
153-
pnpm add --save-optional @oxc-parser/binding-linux-x64-gnu@* || \
154-
pnpm install @oxc-parser/binding-linux-x64-gnu || \
155-
echo "Attempted to install native bindings"
148+
# For matrix tests, don't use --frozen-lockfile to ensure optional dependencies are installed
149+
# The native bindings for oxc-parser are optional dependencies that may not install with --frozen-lockfile
150+
pnpm install
156151
157152
- name: Cache build outputs
158153
uses: actions/cache@v4

0 commit comments

Comments
 (0)