Skip to content

Merge pull request #1137 from wantedly/chloe463/build/eslint-v9 #4

Merge pull request #1137 from wantedly/chloe463/build/eslint-v9

Merge pull request #1137 from wantedly/chloe463/build/eslint-v9 #4

Workflow file for this run

# This workflow creates a release PR if changesets is existing
# When the changesets PR is merged, it will create tags to Github and publish packages.
name: Create Release Pull Request
on:
push:
branches:
- master
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
create-release-pr:
name: Create Release PR
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x
- run: yarn install --frozen-lockfile
- run: yarn lerna bootstrap
- run: yarn build
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}