Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish Package

on:
push:
tags:
- 'v*'

permissions:
id-token: write # Required for npm OIDC trusted publishing
contents: read

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 11.0.9
- uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
registry-url: 'https://registry.npmjs.org'
- run: npm install -g npm@latest
- run: pnpm install --frozen-lockfile
- run: pnpm build-schema
- run: pnpm validate
- run: pnpm build
- run: pnpm test
- run: npm publish --access public
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flat/instruments",
"version": "1.0.0",
"version": "1.1.0",
"description": "The public catalog of musical instruments used by the Flat platform and API.",
"license": "UNLICENSED",
"packageManager": "pnpm@11.0.9",
Expand Down
Loading