[#PE-932] Added new functions under shared plan (#54) #159
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3 | |
with: | |
node-version-file: ".node-version" | |
cache: "yarn" | |
cache-dependency-path: "yarn.lock" | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Create Release Pull Request or Tag | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
version: yarn run version | |
publish: yarn run release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |