Install optional dependencies on CI

The @swc/core module depends on optional dependencies being installed in
order to get the correct native binding's package installed.  Remove
--no-optional flag passed to pnpm to install these.
This commit is contained in:
Hornwitser committed 2024-08-30 01:03:54 +02:00
1 parent 70cf680edd
commit 0cd24d120c
1 file changed
+2 -2
+2 -2
View File
@@ -24,7 +24,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: pnpm i --no-optional --no-frozen-lockfile
- run: pnpm i --no-frozen-lockfile
- run: wget -q -O factorio.tar.gz https://www.factorio.com/get-download/latest/headless/linux64 && tar -xf factorio.tar.gz && rm factorio.tar.gz
- name: Run tests
if: ${{ matrix.node-version != '18.x' }}
@@ -49,5 +49,5 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18.x
- run: pnpm i --no-optional --no-frozen-lockfile
- run: pnpm i --no-frozen-lockfile
- run: pnpm run lint