Skip to content

build: release script 수정 #7

build: release script 수정

build: release script 수정 #7

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.18.2
- name: Install Dependencies
run: yarn install --immutable --immutable-cache
- name: Build
run: yarn lint
release:
needs: build
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.18.2
- name: Install Dependencies
run: yarn install --immutable --immutable-cache
- name: Create Release Pull Request
uses: changesets/action@v1
with:
publish: yarn release
version: yarn changeset version
commit: "chore(release): version packages"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}