[docs] 콘텐츠 업데이트 #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create release | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
release: | |
name: Create Release Pull Request or Publish to npm | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "18.x" | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Create Release Pull Request or Publish | |
uses: changesets/action@v1 | |
with: | |
# Expects a script called release that builds the packages and calls changeset publish | |
# publish: pnpm changeset tag | |
version: pnpm changeset version | |
env: | |
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} |