mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 16:48:50 +00:00
fix just.
This commit is contained in:
3
.github/workflows/npm-publish.yml
vendored
3
.github/workflows/npm-publish.yml
vendored
@@ -13,7 +13,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
- uses: extractions/setup-just@v1
|
- uses: extractions/setup-just@v1
|
||||||
- run: just install-and-build
|
- run: just install-dependencies
|
||||||
|
- run: just build
|
||||||
- run: just test
|
- run: just test
|
||||||
- uses: JS-DevTools/npm-publish@v1
|
- uses: JS-DevTools/npm-publish@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@@ -12,5 +12,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
- uses: extractions/setup-just@v1
|
- uses: extractions/setup-just@v1
|
||||||
- run: just install-and-build
|
- run: just install-dependencies
|
||||||
|
- run: just build
|
||||||
- run: just test
|
- run: just test
|
||||||
|
|||||||
6
justfile
6
justfile
@@ -3,12 +3,6 @@ export PATH := "./node_modules/.bin:" + env_var('PATH')
|
|||||||
install-dependencies:
|
install-dependencies:
|
||||||
yarn --ignore-engines
|
yarn --ignore-engines
|
||||||
|
|
||||||
deps-installed := `ls node_modules`
|
|
||||||
|
|
||||||
install-and-build:
|
|
||||||
if deps-installed != "node_modules" { install-dependencies }
|
|
||||||
build
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
node build.js
|
node build.js
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user