Skip to content

Merge pull request #41 from oceanprotocol/dependabot/npm_and_yarn/fas… #32

Merge pull request #41 from oceanprotocol/dependabot/npm_and_yarn/fas…

Merge pull request #41 from oceanprotocol/dependabot/npm_and_yarn/fas… #32

Workflow file for this run

name: 'CI'
on:
push:
branches:
- main
- develop
tags:
- '**'
pull_request:
branches:
- '**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 'v20.16.0'
- name: Cache node_modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-lint-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-lint-${{ env.cache-name }}-
- run: npm ci
- run: npm run lint