From b77df61961537567d43c19334553c8cf37369534 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Thu, 25 Apr 2024 11:42:29 -0400 Subject: [PATCH] Update travis.yaml for pnpm --- .travis.yml | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index e39328f88..ddeed5855 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,29 @@ +branches: + only: + - "/^\\d+\\.\\d+/" + dist: jammy + language: node_js + node_js: -- stable + - stable + sudo: false + +before_install: + - npm install -g pnpm + - pnpm --version + +install: + - pnpm install + script: -- components/bin/version -- npm config fix -- npm install -- npm run -s link:full -- npm run -s build-all -branches: - only: - - "/^\\d+\\.\\d+/" + - npm config fix + - components/bin/version + - pnpm run -s link:full + - pnpm run -s build-all + deploy: provider: npm email: manager@mathjax.org