Skip to content

Commit

Permalink
pnpm to yarn and add yarn install to toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
okinawaa committed Apr 4, 2024
1 parent 34ccf04 commit abe63a7
Show file tree
Hide file tree
Showing 5 changed files with 3,356 additions and 3,541 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,28 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v2.4.0

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache: 'yarn'

- name: Install Dependencies
run: pnpm i
run: yarn i

- name: Build
run: pnpm build
run: yarn build

- name: Type Check
run: pnpm typecheck
run: yarn typecheck

- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
title: 'chore: version packages'
commit: 'chore: version packages'
version: pnpm changeset:version
publish: pnpm changeset:publish
version: yarn changeset:version
publish: yarn changeset:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build]
publish = "docs/build"
command = "cd docs && pnpm build"
command = "cd docs && yarn install && yarn build"

[build.environment]
NETLIFY_USE_YARN="false"
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "es-hangul",
"version": "1.0.4",
"license": "MIT",
"packageManager": "pnpm@8.15.2",
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts",
"typecheck": "tsc --noEmit",
Expand Down
Loading

0 comments on commit abe63a7

Please sign in to comment.