From e312d7b5d2302f9ed884e939a9d75e826d52a20c Mon Sep 17 00:00:00 2001 From: hulk510 Date: Wed, 17 Jan 2024 16:29:48 +0900 Subject: [PATCH] ci: install pnpm --- .github/workflows/check-dist.yml | 5 +++-- .github/workflows/ci.yml | 4 +++- .github/workflows/linter.yml | 4 +++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index da9c045..bbb246e 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -28,13 +28,14 @@ jobs: id: checkout uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 + - name: Setup Node.js id: setup-node uses: actions/setup-node@v4 with: - node-version-file: .node-version cache: pnpm - - name: Install Dependencies id: install run: pnpm install --forzen-lockfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc5cab4..68afaa7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,11 +19,13 @@ jobs: id: checkout uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 + - name: Setup Node.js id: setup-node uses: actions/setup-node@v4 with: - node-version-file: .node-version cache: pnpm - name: Install Dependencies diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index b0caeaa..b5537f9 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -21,11 +21,13 @@ jobs: id: checkout uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 + - name: Setup Node.js id: setup-node uses: actions/setup-node@v4 with: - node-version-file: .node-version cache: pnpm - name: Install Dependencies