From 1f851dd606d20262c5d203d77d044324b7ddf3d2 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Thu, 25 Apr 2024 12:21:21 -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..b1578aae0 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 -s link:full + - pnpm -s build-all + deploy: provider: npm email: manager@mathjax.org