Adam Majer
38fc9b6db2
since previous versions, see https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V18.md#18.2.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=1
14 lines
252 B
Bash
14 lines
252 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
|