Skip to content

feat: add kiro-cli agents and code-planner #935

feat: add kiro-cli agents and code-planner

feat: add kiro-cli agents and code-planner #935

Workflow file for this run

# 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: Pull Request Build
on:
pull_request:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
node: [20, 22]
steps:
- name: Checkout Code
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
fetch-depth: 0
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@826660b82addbef3abff5fa871492ebad618c9e1 # v4.3.3
with:
main-branch-name: 'master'
- name: Set Node Version
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
# - name: Get yarn cache directory path
# id: yarn-cache-dir-path
# run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
# - name: Restore yarn cache
# uses: actions/cache@v3
# id: yarn-cache
# with:
# path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
# key: ${{ runner.os }}-${{ matrix.node }}-yarn-${{ hashFiles('yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-${{ matrix.node }}-yarn-
# - name: Artifactory Check
# run: yarn check:registry
- name: Install Dependencies
run: yarn install --immutable
- name: Lint
run: yarn nx affected --target=lint
- name: Unit Test
run: yarn test:ci
- name: Publish Dry Run
run: yarn publish:dry-run
- name: Build Packages
run: yarn build:packages
- name: Build Docs
if: ${{ matrix.node == 22 }}
run: yarn build:docs