Skip to content

Commit

Permalink
build(pnpm): replace to pnpm (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykzts committed Dec 4, 2023
1 parent 77446f2 commit c30c039
Show file tree
Hide file tree
Showing 6 changed files with 1,381 additions and 1,412 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn format-check
- run: yarn fetch-schema
- run: yarn migrate-schema
- run: yarn validate
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm format-check
- run: pnpm fetch-schema && pnpm migrate-schema && pnpm validate
7 changes: 5 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@ jobs:
token: ${{ steps.generate_token.outputs.token }}
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- run: corepack enable
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
if: ${{ steps.release.outputs.release_created }}
- run: yarn install --frozen-lockfile
- run: npm publish
- run: pnpm install --frozen-lockfile
if: ${{ steps.release.outputs.release_created }}
- run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
if: ${{ steps.release.outputs.release_created }}
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ dist
.yarn/install-state.gz
.pnp.*

# pnpm
/pnpm-lock.yaml

# schema
/legacy-schema.json
/schema.json
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"license": "MIT",
"main": "index.json",
"name": "@inabagumi/prettier-config",
"packageManager": "pnpm@8.11.0",
"peerDependencies": {
"prettier": ">= 2.4.0"
},
Expand Down
Loading

0 comments on commit c30c039

Please sign in to comment.