f6c46f801d
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs22?expand=0&rev=12
14 lines
251 B
Bash
14 lines
251 B
Bash
#!/bin/bash
|
|
|
|
#
|
|
# Fetch npm module tarball that is required to run unit tests
|
|
# which are not provided by upstream tarball
|
|
#
|
|
set -e
|
|
|
|
tar Jxf node-v*.tar.xz
|
|
cd node-v*/tools/doc
|
|
npm ci
|
|
cd ../..
|
|
exec tar Jcf ../node_modules.tar.xz tools/doc/node_modules
|