Skip to content

chore: add docs to libraries #16

chore: add docs to libraries

chore: add docs to libraries #16

Workflow file for this run

name: budget-pull
on:
pull_request:
paths:
- budget/**
jobs:
build-budget:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
sparse-checkout: budget
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install winglang
run: npm i -g winglang
- name: Install dependencies
run: npm install --include=dev
working-directory: budget
- name: Test
run: wing test
working-directory: budget
- name: Generate docs
run: wing doc
working-directory: budget
- name: Pack
run: wing pack
working-directory: budget
- name: Check for missing changes
run: git diff --exit-code || (echo 'Please run "npm install", "wing test", and
"wing gen-docs" from ./budget, and commit any changes to your branch.'
&& exit 1)