Skip to content

📝 add readme docs (#29) #7

📝 add readme docs (#29)

📝 add readme docs (#29) #7

Workflow file for this run

name: deploy npm
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://npm.pkg.github.com
cache: 'npm'
cache-dependency-path: ./pnpm-lock.yaml
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Install Dependencies
run: pnpm install
# 빌드를 수행합니다.
- name: Build
run: pnpm build
# 테스트를 수행합니다.
- name: Run tests
run: pnpm test
- name: Publish
run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}