Skip to content

[EC Api] - Cardano will be the epicenter of a global network of Contributors and Collaborators from all kinds of distributed organizations around the world #1833

[EC Api] - Cardano will be the epicenter of a global network of Contributors and Collaborators from all kinds of distributed organizations around the world

[EC Api] - Cardano will be the epicenter of a global network of Contributors and Collaborators from all kinds of distributed organizations around the world #1833

Workflow file for this run

name: Pull request checks
on:
pull_request:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
# source: https://github.com/actions/cache/blob/main/examples.md#node---yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: install
run: yarn install --frozen-lockfile --prefer-offline
- name: lint
run: yarn lint