1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
* fix ci

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* add v3

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
This commit is contained in:
mihaisc 2022-06-08 05:31:36 -07:00 committed by GitHub
parent 3646fbdf06
commit ed13131f57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View File

@ -5,6 +5,7 @@ on:
branches:
- main
- v4
- v3
tags:
- '**'
pull_request:
@ -36,7 +37,7 @@ jobs:
key: ${{ runner.os }}-${{ matrix.node }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-${{ matrix.node }}-build-${{ env.cache-name }}-
- run: npm ci
- run: npm ci --legacy-peer-deps
- run: npm run build
test:
@ -63,7 +64,7 @@ jobs:
key: ${{ runner.os }}-${{ matrix.node }}-test-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-${{ matrix.node }}-test-${{ env.cache-name }}-
- run: npm ci
- run: npm ci --legacy-peer-deps
- run: npm test
- name: Upload coverage artifact
@ -95,7 +96,7 @@ jobs:
with:
name: coverage-${{ runner.os }}
- run: npm ci
- run: npm ci --legacy-peer-deps
- run: npm run codegen:apollo
- uses: paambaati/codeclimate-action@v3.0.0
@ -126,6 +127,6 @@ jobs:
key: ${{ runner.os }}-${{ matrix.node }}-storybook-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-${{ matrix.node }}-storybook-${{ env.cache-name }}-
- run: npm ci
- run: npm ci --legacy-peer-deps
- run: npm run pregenerate
- run: npm run storybook:build

View File

@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- run: npm ci
- run: npm ci --legacy-peer-deps
- run: npm run build
env: