Skip to content

Upgrade to Couchbase 4 (and other build changes) #342

Upgrade to Couchbase 4 (and other build changes)

Upgrade to Couchbase 4 (and other build changes) #342

Workflow file for this run

name: "Bundle Size"
on:
pull_request:
workflow_dispatch: {}
jobs:
bundle-size:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- uses: actions/cache@v3
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 Dependencies
run: yarn --immutable --inline-builds
- name: Build
run: yarn build:client
- name: Check Bundle Size
run: yarn size-limit