Skip to content

Commit f36e4f2

Browse files
committed
Add publish
1 parent 7c4d6f8 commit f36e4f2

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
publish:
10+
name: Publish to npm
11+
runs-on: ubuntu-latest
12+
permissions:
13+
id-token: write
14+
contents: read
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: pnpm/action-setup@v4
18+
with:
19+
version: 10
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version: 24.x
23+
cache: pnpm
24+
registry-url: 'https://registry.npmjs.org'
25+
- run: pnpm install --frozen-lockfile
26+
- run: pnpm build
27+
- run: npm publish --access public

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"version": "2.2.11",
33
"license": "MIT",
44
"name": "jbrowse-plugin-msaview",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/GMOD/jbrowse-plugin-msaview.git"
8+
},
59
"keywords": [
610
"jbrowse",
711
"jbrowse2"

0 commit comments

Comments
 (0)