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:
folex 2023-12-25 14:48:54 -03:00 committed by GitHub
parent f096a4efb4
commit e6749d1f05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 771 additions and 14845 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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

File diff suppressed because it is too large Load Diff