Skip to content

fix: 잘못된 caller 워크플로우 수정 #1

fix: 잘못된 caller 워크플로우 수정

fix: 잘못된 caller 워크플로우 수정 #1

Workflow file for this run

name: "release"
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Call Setup Node and pnpm Workflow
uses: GDSC-Hongik/wow-design-system/.github/workflows/setup-node-pnpm.yml@feature/project-setting
- name: Build packages
run: pnpm build
- name: Create .npmrc file
run: |
cat << EOF > "$HOME/.npmrc"
email=gdsc.hongik@gmail.com
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create Release Pull Request
uses: changesets/action@v1
with:
version: pnpm changeset version
publish: pnpm changeset publish
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}