Compare commits

...
Author SHA1 Message Date
Zach 8e594d9664 TODO finish cleaning up 2023-03-06 15:53:11 -05:00
dboreham 2ef028a671 Update to latest sdk (#22) 2023-02-20 12:37:20 -07:00
Michael e7121de87b Merge pull request #20 from cerc-io/integrated_testing
Create manual_npm_publish.yml
2023-02-15 15:54:07 -05:00
Michael 1ebc7f9d8a Create manual_npm_publish.yml 2023-02-15 15:47:35 -05:00
dboreham 3176c0452d Merge pull request #19 from cerc-io/dboreham/update-sdk-version
Update laconic-sdk version to latest
2023-01-19 10:53:58 -07:00
dboreham 2b3d4f2e8b Update laconic-sdk version to latest 2023-01-19 10:53:08 -07:00
3 changed files with 44 additions and 2 deletions
+40
View File
@@ -0,0 +1,40 @@
name: Manual npm publish
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
jobs:
npm_publish:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x ]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://npm.pkg.github.com'
- run: yarn
env:
NODE_AUTH_TOKEN: ${{ secrets.PAT_PACKAGES }}
- name: Run yarn build
env:
NODE_AUTH_TOKEN: ${{ secrets.PAT_PACKAGES }}
run: |
yarn build
- name: Configure git.vdb.to npm registry
run: |
npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/
- name: Authenticate to git.vdb.to registry
run: |
npm config set -- '//git.vdb.to/api/packages/cerc-io/npm/:_authToken' "${{ secrets.GITEA_PUBLISH_TOKEN }}"
- name: lerna publish
run: |
lerna publish from-package --no-git-tag-version --yes
+3 -1
View File
@@ -4,7 +4,9 @@ CLI utility written in TS, used to interact with laconicd. Depends on [laconic-s
## Setup
* Run `yarn` to install all dependencies.
`npm config set registry https://git.vdb.to/api/packages/cerc-io/npm/`
* Run `yarn && yarn build` to install all dependencies.
* Create a `config.yml` file from [config.example.yml](./config.example.yml) file.
+1 -1
View File
@@ -15,7 +15,7 @@
},
"dependencies": {
"fs-extra": "^10.1.0",
"@cerc-io/laconic-sdk": "0.1.4",
"@cerc-io/laconic-sdk": "0.1.6",
"js-yaml": "^3.14.1",
"lodash": "^4.17.21",
"lodash-clean": "^2.2.3",