Skip to content

Commit

Permalink
Update travis.yaml for pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvc committed Apr 25, 2024
1 parent 47b918f commit b77df61
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b77df61

Please sign in to comment.