Skip to content

Commit

Permalink
git 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ftery0 committed Jan 14, 2025
1 parent afb6ac6 commit 5451418
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,25 @@ jobs:
node-version: '20'

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

- name: Cache Node.js modules
- name: Cache pnpm store
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node-
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
run: pnpm install --frozen-lockfile --prefer-offline

- name: Build the project
run: pnpm run build

- name: Publish to NPM
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
pnpm publish dist --access public # pnpm 명령어로 변경
pnpm publish dist --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 5451418

Please sign in to comment.