forked from ubiquity/rpc-handler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from rndquu/development
Test
- Loading branch information
Showing
3 changed files
with
30 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
name: publish-package | ||
name: Publish Package | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
newversion: | ||
description: 'Semantic Version Bump Type (major minor patch)' | ||
required: true | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release-please: | ||
publish-package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository code | ||
|
@@ -20,19 +19,11 @@ jobs: | |
node-version: "20.10.0" | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
# - name: Build | ||
# run: | | ||
# yarn install --immutable --immutable-cache --check-cache | ||
# yarn build | ||
# yarn pack | ||
|
||
- name: Version and publish to npm | ||
id: npm-bump | ||
uses: bcomnes/npm-bump@v2 | ||
with: | ||
git_email: [email protected] | ||
git_username: github-actions | ||
newversion: ${{ github.event.inputs.newversion }} | ||
push_version_commit: true | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
npm_token: ${{ secrets.NPM_ACCESS_TOKEN }} | ||
- name: Build & Publish | ||
run: | | ||
yarn install --immutable --immutable-cache --check-cache | ||
yarn build | ||
yarn pack | ||
yarn publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@test117/rpc-handler", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Uses Chainlist's RPC collection racing them returning the lowest latency RPC", | ||
"main": "dist/cjs/rpc-handler.js", | ||
"module": "dist/esm/rpc-handler.js", | ||
|
@@ -84,5 +84,6 @@ | |
"extends": [ | ||
"@commitlint/config-conventional" | ||
] | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |