Skip to content

Bump CB pkg and adjust workflows to use pnp #299

Bump CB pkg and adjust workflows to use pnp

Bump CB pkg and adjust workflows to use pnp #299

Workflow file for this run

name: CI
on:
push:
branches: [master]
jobs:
build:
services:
couchbase:
image: couchbase/server-sandbox:7.1.3
ports:
- 8091-8094:8091-8094
- 11210:11210
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
node_version: [ '16' ]
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: yarn install --immutable
- name: Build
run: yarn build
- name: Test
run: yarn test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
- name: Create .env file
uses: SpicyPizza/[email protected]
with:
envKey_ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }}
envKey_ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
directory: docusaurus/
- name: Generate docs
run: yarn docs
- name: Publish docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs