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

restore build in ci

This commit is contained in:
Enzo Vezzaro 2022-04-25 07:46:39 -04:00
parent 74f2126158
commit 40d485ea91

View File

@ -12,31 +12,6 @@ on:
- '**'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: ['16', '14']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Cache node_modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
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 run build
test:
runs-on: ${{ matrix.os }}
@ -63,6 +38,7 @@ jobs:
- run: npm ci
- run: npm test
- run: npm run build
coverage:
runs-on: ubuntu-latest