Skip to content

react v0.3.0

react v0.3.0 #3

Workflow file for this run

name: Publish (React)
on:
push:
tags:
- react-v*
jobs:
publish:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
# npm 공용 레지스트리에 배포
- name: Publish to npm
run: |
yarn
jq '.name = "@woohm402/eslint-config-react"' packages/react/package.json > package.json.temp && mv package.json.temp packages/react/package.json
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > ~/.npmrc
yarn publish:react --registry=https://registry.npmjs.org/