From 0c9e0024e640bd63a3b2c5b016f7c70c2e768e94 Mon Sep 17 00:00:00 2001 From: Skick Date: Fri, 19 Apr 2024 23:57:04 +0700 Subject: [PATCH] ci: pnpm --- .github/workflows/docs.yml | 8 +++++++- .github/workflows/publish.yml | 4 ++++ .github/workflows/test.yml | 5 +++++ README.md | 1 - 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d5ba490..4022654 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -14,6 +14,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@v3 + with: + version: latest + - name: Install Node.js uses: actions/setup-node@v4 with: @@ -27,7 +32,8 @@ jobs: - name: Checkout docs branch uses: actions/checkout@v4 with: - ref: "distubejs/distubejs.github.io" + repository: distubejs/distubejs.github.io + ref: gh-pages path: "docs" token: ${{ secrets.DISTUBE_TOKEN }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9079bbe..1d918d3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,6 +12,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@v3 + with: + version: latest - name: Install Node.js uses: actions/setup-node@v4 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a5a3911..ed9fc3b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,6 +12,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@v3 + with: + version: latest + - name: Install Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: diff --git a/README.md b/README.md index b8ae483..39fcc51 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ GitHub Workflow Status node-current npm peer dependency version - Depfu Codecov branch
npm