From 74c667bfd607b39e097ab147bb7fbd2b509a51e6 Mon Sep 17 00:00:00 2001 From: Trevor Fitzgerald Date: Wed, 13 Nov 2024 00:24:13 -0500 Subject: [PATCH] github action commands to use pnpm --- .github/workflows/ci.yml | 18 ++++++++++++------ js/components/RecentUpdates.vue | 2 +- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 277e822..1b96615 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,21 +8,27 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 - - run: npm ci - - run: npm test + - uses: pnpm/action-setup@v4 + with: + run_install: true + - run: pnpm test check-formatting: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 - - run: npm ci - - run: npx prettier --check . + - uses: pnpm/action-setup@v4 + with: + run_install: true + - run: pnpx prettier --check . check-typescript: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 - - run: npm ci - - run: npm run tsc + - uses: pnpm/action-setup@v4 + with: + run_install: true + - run: pnpm tsc diff --git a/js/components/RecentUpdates.vue b/js/components/RecentUpdates.vue index 74fc742..a22c197 100644 --- a/js/components/RecentUpdates.vue +++ b/js/components/RecentUpdates.vue @@ -4,7 +4,7 @@
  • - Added Mona Lisa Checkmate trophy -
    +
      Credit to GM Aman Hambleton from Chessbrah. See video here