Skip to content

Commit

Permalink
fix(build): fix npm build, add check for that (#132)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
folex authored Dec 25, 2023
1 parent f096a4e commit e6749d1
Show file tree
Hide file tree
Showing 4 changed files with 765 additions and 14,839 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,33 @@ jobs:
command: clippy
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:
name: Lints
Expand Down
Loading

0 comments on commit e6749d1

Please sign in to comment.