Bump the all-dependencies group in /cli with 22 updates #317
Workflow file for this run
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
name: Test CLI | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'cli/**' | |
- '.stoat/**' | |
- '.github/workflows/test-cli.yaml' | |
push: | |
branches: | |
- main | |
paths: | |
- 'cli/**' | |
- '.stoat/**' | |
- '.github/workflows/test-cli.yaml' | |
defaults: | |
run: | |
working-directory: cli | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Setup cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
${{ github.workspace }}/types/node_modules | |
${{ github.workspace }}/action/node_modules | |
${{ github.workspace }}/cli/node_modules | |
key: ${{ runner.os }}-node-20-cli-${{ hashFiles('types/yarn.lock') }}-${{ hashFiles('action/yarn.lock') }}-${{ hashFiles('cli/yarn.lock') }} | |
- name: Install types dependencies | |
working-directory: types | |
run: | | |
yarn install --frozen-lockfile | |
- name: Install action dependencies | |
working-directory: action | |
run: | | |
yarn install --frozen-lockfile | |
- name: Install cli dependencies | |
run: | | |
yarn install --frozen-lockfile | |
- name: Build and test stoat cli | |
run: | | |
yarn build | |
yarn test | |
- name: Check format | |
run: yarn format-check | |
- name: Run stoat action | |
uses: ./ | |
if: always() |