Skip to content

build: add yarn install #4

build: add yarn install

build: add yarn install #4

Workflow file for this run

name: Yarn Install
on:
pull_request:
branches: [ "main" ]
jobs:
InstallPackages:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: --max_old_space_size=14000
steps:
- uses: actions/checkout@v4.1.7
with:
persist-credentials: false # Required to make github pages deployment work correctly
node-version: 20.x
- name: Cache Data # Cache SourceCred Data, invalidating if any of the config changes or the SC version is updated
uses: actions/cache@v4.0.2
with:
path: '**/cache'
key: SC-${{ runner.os }}-${{ hashFiles('**/config.json', '**/sourcecred.json', '**/yarn.lock') }}
- name: Install Packages 🔧
run: yarn --frozen-lockfile