mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
dependencies: Switch to pnpm.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
b3f9fdf99a
commit
3a27b12a7d
@@ -40,14 +40,14 @@ cp -a \
|
||||
tools/ci/production-pgroonga \
|
||||
tools/ci/production-upgrade-pg \
|
||||
tools/ci/generate-failure-message \
|
||||
package.json yarn.lock \
|
||||
package.json pnpm-lock.yaml \
|
||||
/tmp/production-build
|
||||
|
||||
# Check that webpack bundles use only ES2019 syntax.
|
||||
# Use the yarn binary installed by tools/provision.
|
||||
YARN="/usr/local/bin/yarn"
|
||||
# Use the pnpm binary installed by tools/provision.
|
||||
PNPM="/usr/local/bin/pnpm"
|
||||
tar -C /tmp -xzf /tmp/production-build/zulip-server-test.tar.gz zulip-server-test/prod-static/serve/webpack-bundles
|
||||
(
|
||||
GLOBIGNORE=/tmp/zulip-server-test/prod-static/serve/webpack-bundles/katex-cli.js
|
||||
$YARN run es-check es2019 /tmp/zulip-server-test/prod-static/serve/webpack-bundles/*.js
|
||||
"$PNPM" exec es-check es2019 /tmp/zulip-server-test/prod-static/serve/webpack-bundles/*.js
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user