Skip to content

Commit

Permalink
[test ci]: run pnpm publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalenic committed Dec 6, 2024
1 parent 24f0103 commit a610bd4
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 270 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: release

on:
release:
types: [released]
on: push

jobs:
release:
Expand All @@ -14,9 +12,10 @@ jobs:
with:
node-version: 22
cache: "pnpm"
registry-url: "https://registry.npmjs.org"
- run: pnpm install
- run: pnpm run build
- run: pnpm publish --access public
- run: pnpm publish --access public --publish-branch feat/add-role
working-directory: dist
env:
NPM_TOKEN: ${{ secrets.HTSGET_RS_DEPLOY_PUBLISH_TOKEN }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"typescript": "5.6.3"
},
"files": [
"dist"
"./**/*.d.ts",
"./**/*.js"
],
"name": "htsget-lambda",
"packageManager": "[email protected]",
Expand Down
Loading

0 comments on commit a610bd4

Please sign in to comment.