Skip to content

Merge pull request #2273 from sushiswap/emc #380

Merge pull request #2273 from sushiswap/emc

Merge pull request #2273 from sushiswap/emc #380

Workflow file for this run

name: "Sync Database"
on:
push:
branches:
- master
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
sync-db:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
pnpm-version: [8.9.2]
steps:
- uses: actions/checkout@v2
- uses: pnpm/[email protected]
with:
version: ${{ matrix.pnpm-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies & sync database
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
run: pnpm install && pnpm run syncDB
working-directory: "./lists/token-lists/default-token-list"