Skip to content

Commit 1b02428

Browse files
authored
Merge pull request #20 from studiorack/feature/release-action
Feature/release action
2 parents 759cbc9 + a0fced4 commit 1b02428

4 files changed

Lines changed: 38 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
release:
10+
name: Create release
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
id-token: write
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Setup NodeJs
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: '20'
23+
registry-url: 'https://registry.npmjs.org'
24+
25+
- name: Update npm
26+
run: npm install -g npm@latest
27+
28+
- name: Install dependencies
29+
run: npm ci
30+
31+
- name: Build and run code
32+
run: npm run build
33+
34+
- name: Publish
35+
run: npm publish

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ To publish and release changes and create a version tag using:
7777

7878
npm version patch
7979
git push && git push origin --tags
80-
npm publish
8180

8281
## Contact
8382

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@studiorack/cli",
3-
"version": "3.0.0",
3+
"version": "3.0.4",
44
"description": "Audio project manager tool",
55
"type": "module",
66
"main": "./build/index.js",

0 commit comments

Comments
 (0)