Skip to content

chore(deps): bump garnet-org/action from ccd6b73fddaa3c64195b654090fc1bfcb07788fd to 46e1d3873f30368b2b37205491a975e9a369a526 #143

chore(deps): bump garnet-org/action from ccd6b73fddaa3c64195b654090fc1bfcb07788fd to 46e1d3873f30368b2b37205491a975e9a369a526

chore(deps): bump garnet-org/action from ccd6b73fddaa3c64195b654090fc1bfcb07788fd to 46e1d3873f30368b2b37205491a975e9a369a526 #143

Workflow file for this run

# CI: build the action bundles and verify dist/ is committed and up to date.
#
# This repo ships pre-built dist/ (ncc bundles) so consumers don't need to build.
# If you change src/, run `npm run build` and commit the updated dist/ — this
# workflow fails when dist/ is out of sync with a fresh build.
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-verify:
name: Build and verify dist/
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
# Dogfooding
- name: Run Garnet
uses: ./
with:
api_token: ${{ secrets.GARNET_API_TOKEN }}
jibril_version: "v0.0"
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: "lts/*"
- name: Install dependencies
run: |-
npm ci --include=dev
- name: Typecheck
run: npm run typecheck
- name: Build
run: npm run build
- name: Verify dist/ is up to date
run: |
if ! git diff --exit-code dist/; then
echo "::error::dist/ is out of date. Run 'npm run build' and commit the changes."
exit 1
fi