mirror of
https://github.com/fluencelabs/examples
synced 2025-04-25 10:42:16 +00:00
add CI for aqua ipfs integration
This commit is contained in:
parent
e0c4631c5e
commit
738c92f541
38
.github/workflows/test-aqua-ipfs-integration.yml
vendored
Normal file
38
.github/workflows/test-aqua-ipfs-integration.yml
vendored
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
name: Run tests for js-based projects
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [16.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ~/.npm
|
||||||
|
key: ${{ runner.os }}-v1-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-v1-node-${{ matrix.node-version }}
|
||||||
|
|
||||||
|
- name: Setup Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
|
- name: run tests
|
||||||
|
working-directory:
|
||||||
|
./aqua-examples/aqua-ipfs-integration
|
||||||
|
env:
|
||||||
|
CI: true
|
||||||
|
run: |
|
||||||
|
npm i
|
||||||
|
npm run build
|
||||||
|
bpm run test -w nodejs
|
||||||
|
bpm run test -w web
|
4
.github/workflows/test-js-projects.yml
vendored
4
.github/workflows/test-js-projects.yml
vendored
@ -42,5 +42,5 @@ jobs:
|
|||||||
CI: true
|
CI: true
|
||||||
run: |
|
run: |
|
||||||
npm i
|
npm i
|
||||||
npm build
|
npm run build
|
||||||
npm test
|
npm run test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user