Merge pull request 'Use npm to install cli' (#12) from dboreham/use-npm into main

Reviewed-on: #12
Reviewed-by: Thomas E Lackey <telackey@noreply.git.vdb.to>
This commit is contained in:
David Boreham 2024-03-08 02:51:29 +00:00
commit 3ee5bc9556

View File

@ -17,12 +17,12 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18 node-version: 18
- name: "Install Yarn" - name: "Enable Yarn"
run: npm install -g yarn run: corepack enable
- name: "Install registry CLI" - name: "Install registry CLI"
run: | run: |
npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/ npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/
yarn global add @cerc-io/laconic-registry-cli npm install -g @cerc-io/laconic-registry-cli
- name: "Install jq" - name: "Install jq"
run: apt -y update && apt -y install jq run: apt -y update && apt -y install jq
- name: "Publish Application Record" - name: "Publish Application Record"