Skip to content

chore: changeset for latest changes (#31) #31

chore: changeset for latest changes (#31)

chore: changeset for latest changes (#31) #31

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
permissions:
actions: read
contents: write
packages: write
pull-requests: write
issues: read
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm test
- name: Create Release Pull Request or Publish to npm
uses: dotansimha/changesets-action@069996e9be15531bd598272996fa23853d61590e
with:
title: Release Tracking
# this expects you to have a script called release which does a build for your packages and calls changeset publish
publish: npm run release
version: npm run version-packages
createGithubReleases: aggregate
githubReleaseName: v${{ steps.release-version.outputs.current-version }}
githubTagName: v${{ steps.release-version.outputs.current-version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}