Skip to content

Github action workflows for testing and releasing #1

Github action workflows for testing and releasing

Github action workflows for testing and releasing #1

Workflow file for this run

name: Tag release changeset
on:
push:
branches:
- main
permissions:
contents: write
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
- name: Rotate changelogs
run: npx changeset version
- name: Tag release
run: npx changeset publish
- name: Push release tags
run: git push --follow-tags