Skip to content

fix: unnecessary code deleted #8

fix: unnecessary code deleted

fix: unnecessary code deleted #8

Workflow file for this run

name: Release & Publish to NPM
on:
push:
branches:
- 'main'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-20.04
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Initialize Git user
run: |
git config --global user.email "keumks0331@gmail.com"
git config --global user.name "Release Workflow"
- name: Set Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'
- run: yarn
- run: yarn release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}