Skip to content

Commit

Permalink
test without CI node/npm
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Aug 13, 2024
1 parent 6d6029f commit f498f62
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build_wasm_postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@ jobs:
/tmp/sdk/postgres-*.tar.gz
postgres
postgresql-*
key: build-cache-${{ hashFiles('cibuild.sh', 'cibuild/**', 'patches/*.c', 'patches/**/*.diff') }}
key: build-cache-${{ hashFiles('cibuild.sh', 'package.json', 'cibuild/**', 'patches/*.c', 'patches/**/*.diff') }}

- name: Install python-wasm-sdk for emsdk/wasi+prebuilts
if: steps.cache-restore.outputs.cache-hit != 'true'
working-directory: /
run: |
sudo apt-get install -y lz4 wget pv bash
sudo rm $(which node) $(which npm)
echo https://github.com/pygame-web/python-wasm-sdk/releases/download/$SDK_VERSION/$SDK_ARCHIVE
curl -sL --retry 5 https://github.com/pygame-web/python-wasm-sdk/releases/download/$SDK_VERSION/$SDK_ARCHIVE | tar xvP --use-compress-program=lz4 | pv -p -l -s 24400 >/dev/null
Expand Down
1 change: 1 addition & 0 deletions cibuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ else
END
fi

# TESTING: removed node / npm from CI
# make sure CI pnpm will be in the path
if which pnpm
then
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
}
},
"engines": {
"node": ">=20",
"pnpm": ">=9"
"node": ">=18",
"pnpm": ">=8"
},
"packageManager": "[email protected]",
"private": true,
Expand Down

0 comments on commit f498f62

Please sign in to comment.