Skip to content

chore(deps): bump the npm_and_yarn group across 4 directories with 3 updates #30

chore(deps): bump the npm_and_yarn group across 4 directories with 3 updates

chore(deps): bump the npm_and_yarn group across 4 directories with 3 updates #30

Workflow file for this run

name: CI
on:
pull_request:
push:
workflow_dispatch:
jobs:
validate:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Run checks
run: npm run check -w strong-mode
- name: Build package
run: npm run build -w strong-mode
- name: Pack release artifact
working-directory: packages/strong-mode
run: npm pack
- name: Smoke test packed CLI
shell: bash
run: |
set -euo pipefail
tarball="$(find "${GITHUB_WORKSPACE}/packages/strong-mode" -maxdepth 1 -name '*.tgz' | head -n 1)"
mkdir -p /tmp/strong-mode-smoke
cd /tmp/strong-mode-smoke
npm init -y >/dev/null 2>&1
npm exec --yes --package="$tarball" strong-mode -- --dry-run --yes