diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 178b73ee..4ad0c858 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -7,14 +7,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: 'pnpm' - uses: pnpm/action-setup@v4 name: Install pnpm with: version: 9.1.4 - - run: corepack enable + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'pnpm' - run: pnpm install - run: echo "${{ github.event.pull_request.title }}" | pnpm commitlint \ No newline at end of file