Merge pull request #2057 from iotaledger/sc-platform/bump-v0.1.5 #119
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: Changesets | |
on: | |
## Allow triggering this workflow manually via GitHub CLI/web | |
workflow_dispatch: | |
push: | |
branches: | |
- develop | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
version: | |
runs-on: self-hosted | |
steps: | |
- name: checkout code repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1 | |
with: | |
fetch-depth: 0 | |
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # [email protected] | |
- name: Install Nodejs | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected] | |
with: | |
node-version: "20" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Create Release Pull Request | |
uses: changesets/action@f13b1baaa620fde937751f5d2c3572b9da32af23 # pin@v1 | |
with: | |
# Generates src/version.ts file using genVersion | |
# https://github.com/changesets/action#with-version-script | |
version: pnpm changeset-version | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |