[Kraken API Docs] update latest API docs #3818
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: "CI Build" | |
on: | |
push: | |
branches: [master, develop] | |
pull_request: | |
branches: [master, develop] | |
merge_group: | |
types: [checks_requested] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
cache-dependency-path: "**/yarn.lock" | |
- run: yarn install --frozen-lockfile | |
working-directory: website | |
- run: yarn lint && yarn build | |
working-directory: website | |
- run: yarn install --frozen-lockfile | |
working-directory: snippets | |
- run: yarn lint && yarn test | |
working-directory: snippets |