Skip to content

Commit

Permalink
ci: corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
ciscorn committed Nov 26, 2024
1 parent a4c7ecd commit ae66e7d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -28,4 +26,5 @@ jobs:
run: pnpm run check

- name: Lint
run: pnpm run check
run: pnpm run check

10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ae66e7d

Please sign in to comment.