Skip to content

Add renovate.json

Add renovate.json #207

Workflow file for this run

name: E2E-testing
on: [push]
jobs:
e2e:
env:
DATABASE_URL: postgresql://postgres:@localhost:5432/trpcdb
NEXTAUTH_SECRET: test
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['14.x']
os: [ubuntu-latest]
services:
postgres:
image: postgres:12.1
env:
POSTGRES_USER: postgres
POSTGRES_DB: trpcdb
ports:
- 5432:5432
steps:
- name: Checkout repo
uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.2.4
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ matrix.dir }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-${{ matrix.dir }}-
- run: node -v
- name: Install deps (with cache)
run: pnpm install
- name: Next.js cache
uses: actions/cache@v2
with:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-${{ runner.node }}-${{ hashFiles('**/pnpm.lock') }}-nextjs
- run: pnpm lint
- run: pnpm build