mirror of
https://github.com/fluencelabs/aqua-ipfs
synced 2025-03-15 21:20:49 +00:00
fix(build): fix npm build, add check for that (#132)
* fix(release): maybe fix npm run build on release * fix(ci): check if 'npm run build' works on every commit * fix(ci): i've no idea what I'm doing * fix: I beg you, please run tests * just break it * fix: oops wrong file * fix: fix paths, maybe? * ci is fun * actually clone the repo * enable cache back * disable npm cache * run on builder * use setup-fluence to install fcli * use stable fcli
This commit is contained in:
parent
f096a4efb4
commit
e6749d1f05
27
.github/workflows/run-tests.yml
vendored
27
.github/workflows/run-tests.yml
vendored
@ -50,6 +50,33 @@ jobs:
|
|||||||
command: clippy
|
command: clippy
|
||||||
args: -Z unstable-options --all --manifest-path service/Cargo.toml
|
args: -Z unstable-options --all --manifest-path service/Cargo.toml
|
||||||
|
|
||||||
|
npm-build:
|
||||||
|
name: "Check if npm run build works"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout sources
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Setup node
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: "18"
|
||||||
|
registry-url: "https://registry.npmjs.org"
|
||||||
|
# cache-dependency-path: "aqua/package-lock.json"
|
||||||
|
# cache: "npm"
|
||||||
|
|
||||||
|
- name: Setup fcli
|
||||||
|
uses: fluencelabs/setup-fluence@v1
|
||||||
|
with:
|
||||||
|
version: stable
|
||||||
|
|
||||||
|
- run: npm ci
|
||||||
|
working-directory: aqua
|
||||||
|
|
||||||
|
- run: npm run build
|
||||||
|
working-directory: aqua
|
||||||
|
|
||||||
|
|
||||||
lints:
|
lints:
|
||||||
name: Lints
|
name: Lints
|
||||||
|
14401
aqua/package-lock.json
generated
14401
aqua/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -29,8 +29,5 @@
|
|||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/fluencelabs/aqua-ipfs/issues"
|
"url": "https://github.com/fluencelabs/aqua-ipfs/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/fluencelabs/aqua-ipfs#readme",
|
"homepage": "https://github.com/fluencelabs/aqua-ipfs#readme"
|
||||||
"devDependencies": {
|
|
||||||
"@fluencelabs/cli": "0.13.0"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
1183
service/Cargo.lock
generated
1183
service/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user