Skip to content

DEV2-5321 Add RudderStack GitBook Integration #2

DEV2-5321 Add RudderStack GitBook Integration

DEV2-5321 Add RudderStack GitBook Integration #2

Workflow file for this run

name: 'CI'
on:
push:
branches: ['main']
pull_request:
jobs:
build:
name: 'Build'
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '18.16'
- uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: .yarn/cache
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install
run: yarn --immutable
- name: Build
run: yarn build
- name: Prettier
run: yarn prettier:check
- name: Lint
run: yarn lint
- name: Test
run: yarn test