Skip to content

Commit

Permalink
fix :: gitaction
Browse files Browse the repository at this point in the history
  • Loading branch information
ftery0 committed Jan 13, 2025
1 parent 73cc3e6 commit c5be29e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
node-version: '20'

- name: Install pnpm
run: npm install -g pnpm

- name: Cache Node.js modules
uses: actions/cache@v2
Expand All @@ -35,6 +38,6 @@ jobs:
- name: Publish to NPM
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
npm publish dist --access public
pnpm publish dist --access public # pnpm 명령어로 변경
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
# . "$(dirname -- "$0")/_/husky.sh"

pnpm lint-staged
# pnpm lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "dds-web",
"name": "@b1nd/dds-web",
"type": "module",
"types": "dist/index.d.ts",
"main": "dist/cjs/index.cjs.js",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default [
dts(),
url({
include: ["**/*.otf"],
limit: 0,
limit: Infinity,
}),
replace({
delimiters: ["", ""],
Expand Down

0 comments on commit c5be29e

Please sign in to comment.