Skip to content

Commit

Permalink
Merge #9
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-hm authored Aug 14, 2024
2 parents f63a8d9 + 63e4a70 commit 5850874
Show file tree
Hide file tree
Showing 11 changed files with 2,461 additions and 364 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/check-build-test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check, build and test
name: Check and test

on:
pull_request:
Expand All @@ -19,12 +19,6 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '22'
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
- run: npm ci
- run: just check

Expand Down Expand Up @@ -62,4 +56,4 @@ jobs:
with:
name: ${{ matrix.package }}-logs
path: packages/fixture/logs
retention-days: 7
retention-days: 4
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Generate and deploy docs to pages
name: Publish docs

on:
push:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish packages to npmjs
name: Publish to npmjs

on:
workflow_dispatch:
Expand All @@ -21,12 +21,6 @@ jobs:
with:
node-version: '22'
registry-url: "https://registry.npmjs.org"
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
- env:
NODE_AUTH_TOKEN:
${{ secrets.NPM_TOKEN }}
Expand Down
10 changes: 5 additions & 5 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pack-client-wasm:
publish-client-wasm args="":
#!/usr/bin/env bash
set -euxo pipefail
npm -w packages/client-wasm publish --registry=http://localhost:4873 {{args}}
npm -w packages/client-wasm publish {{args}}
# <<< End @nillion/client-wasm <<<

Expand Down Expand Up @@ -107,7 +107,7 @@ publish-client-core args="":
set -euxo pipefail
npm -w packages/client-core run clean
npm -w packages/client-core run build
npm -w packages/client-core publish --registry=http://localhost:4873 {{args}}
npm -w packages/client-core publish {{args}}
# <<< End @nillion/client-core <<<

Expand Down Expand Up @@ -148,7 +148,7 @@ publish-client-payments args="":
set -euxo pipefail
npm -w packages/client-payments run clean
npm -w packages/client-payments run build
npm -w packages/client-payments publish --registry=http://localhost:4873 {{args}}
npm -w packages/client-payments publish {{args}}
# <<< End @nillion/client-payments <<<

Expand Down Expand Up @@ -189,7 +189,7 @@ publish-client-vms args="":
set -euxo pipefail
npm -w packages/client-vms run clean
npm -w packages/client-vms run build
npm -w packages/client-vms publish --registry=http://localhost:4873 {{args}}
npm -w packages/client-vms publish {{args}}
# <<< End @nillion/client-vms <<<

Expand All @@ -206,5 +206,5 @@ publish-client-react-hooks args="":
set -euxo pipefail
npm -w packages/client-react-hooks run clean
npm -w packages/client-react-hooks run build
npm -w packages/client-react-hooks publish --registry=http://localhost:4873 {{args}}
npm -w packages/client-react-hooks publish {{args}}
# <<< End @nillion/client-react-hooks <<<
Loading

0 comments on commit 5850874

Please sign in to comment.