Skip to content

Replicache v15 update #46

Replicache v15 update

Replicache v15 update #46

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize]
jobs:
build:
name: Build and Test
timeout-minutes: 15
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 16
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable
- name: Build
run: yarn run build
- name: Test TypeScript
run: yarn run test-typescript
- name: Lint
run: yarn run lint
check_workspace_dependency_drift:
name: Check Workspace Dependency Drift
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 16
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable
- name: Generate new syncpack snapshot
run: yarn run update-syncpack-snapshot
shell: bash
- name: Check for unexpected workspace dependency drift
run: git diff --exit-code -- syncpack-snapshot.txt