From 02f7cbe87ecca5dacc2d51f2d39f4accc4bb1022 Mon Sep 17 00:00:00 2001 From: xenokratos Date: Sat, 20 Jul 2024 03:16:54 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20CHORE:=20Replace=20yarn?= =?UTF-8?q?=20by=20pnpm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 13 ++++++++----- .travis.yml | 4 ++-- package.json | 4 ++-- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d13cc84..2008919 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,21 +7,24 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [13.x] + node-version: [20.x] steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 + - name: Install pnpm + user: pnpm/action-setup@v4 with: node-version: ${{ matrix.node-version }} registry-url: https://registry.npmjs.org/ - name: Install dependecies run: | - yarn + pnpm i - name: Run build process run: | - yarn build + pnpm build + # - name: Publish # run: | # npm publish diff --git a/.travis.yml b/.travis.yml index 025bc72..7d73bb0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,6 @@ notifications: on_success: never on_failure: always install: - - yarn + - pnpm@8.15.8 script: - - yarn build + - pnpm build diff --git a/package.json b/package.json index b31a289..91b96bc 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "scripts": { "clear": "rm -rf build src/katex-script.* src/katex-style.*", "compile": "node scripts/prebuild.js", - "build": "yarn clear && yarn compile && tsc", - "release": "yarn build && npm version minor && npm publish", + "build": "pnpm clear && pnpm compile && tsc", + "release": "pnpm build && npm version minor && npm publish", "prepare": "npm run build" }, "repository": {