name: verify on: push: pull_request: jobs: verify: # A runner (or container image) with Node 22+, git-lfs, and Chromium's system # dependencies for the browser-mode Vitest project. runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: lfs: true - uses: actions/setup-node@v4 with: node-version: 22 cache: npm - run: npm ci # no registry token on purpose — see "Versions, ranges, and the 0.x window" - run: npx playwright install --with-deps chromium - run: npm run lint - run: npm run check - run: npm test - run: npm run build - run: npm publish --dry-run -w packages/core -w packages/humanoid - name: Humanoid ships no runtime reference to core run: if grep -rl "webavatar-core" packages/humanoid/dist --include="*.js"; then exit 1; fi - name: The SvelteKit server build imports core by name run: grep -rl "@webavatar/webavatar-core/server" apps/template/build/server