Skip to content

Merge pull request #17 from IsmaelMartinez/feature-update-dependencie… #15

Merge pull request #17 from IsmaelMartinez/feature-update-dependencie…

Merge pull request #17 from IsmaelMartinez/feature-update-dependencie… #15

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
if: github.repository == 'ismaelmartinez/generator-atlassian-compass-event-catalog'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js 20.x
uses: pnpm/action-setup@v4
with:
version: 8
- name: Installation
run: pnpm install
- name: Build
run: pnpm run build
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@master
with:
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}