Skip to content

Commit

Permalink
test publishing package
Browse files Browse the repository at this point in the history
  • Loading branch information
yogurtandjam committed Sep 18, 2024
1 parent d16a96b commit d71f845
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/js-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on: # yamllint disable-line rule:truthy
- 'v4-client-js/**'
branches:
- main
- test-release

# Ensure only a single instance of this workflow is running.
concurrency:
Expand Down Expand Up @@ -45,3 +46,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_WRITE }}

- name: Publish
run: ./scripts/publish-if-not-exists.sh
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_WRITE }}

4 changes: 2 additions & 2 deletions v4-client-js/.releaserc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"branches": ["main"],
"tagFormat": "v4-client-js@${version}",
"branches": ["main", "test-release"],
"tagFormat": "v4-client-js@${version}-sr",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
Expand Down
2 changes: 1 addition & 1 deletion v4-client-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dydxprotocol/v4-client-js",
"version": "1.3.3",
"version": "1.3.6-test-release",
"description": "General client library for the new dYdX system (v4 decentralized)",
"main": "build/src/index.js",
"scripts": {
Expand Down

0 comments on commit d71f845

Please sign in to comment.