From ae66e7dc257ba59b55484583e551daa778b9bb6c Mon Sep 17 00:00:00 2001 From: Taku Fukada Date: Tue, 26 Nov 2024 17:17:26 +0900 Subject: [PATCH] ci: corepack --- .github/workflows/lint.yml | 9 ++++----- .github/workflows/release.yml | 10 ++++------ 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fd1691c..78ddb54 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,11 +10,9 @@ jobs: lint: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Install pnpm - uses: pnpm/action-setup@v4 + - run: corepack enable - uses: actions/setup-node@v4 with: @@ -28,4 +26,5 @@ jobs: run: pnpm run check - name: Lint - run: pnpm run check \ No newline at end of file + run: pnpm run check + diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 62d5343..f01f315 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,13 +11,11 @@ jobs: contents: read id-token: write steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Install pnpm - uses: pnpm/action-setup@v4 + - uses: actions/checkout@v4 - - name: Setup Node.js - uses: actions/setup-node@v4 + - run: corepack enable + + - uses: actions/setup-node@v4 with: node-version: '22' cache: "pnpm"