Skip to content

ci: add environment gate + CODEOWNERS for publish security #7

ci: add environment gate + CODEOWNERS for publish security

ci: add environment gate + CODEOWNERS for publish security #7

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Lint, typecheck, test, build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Typecheck
run: yarn typecheck
- name: Run tests
run: yarn test --ci
- name: Build
run: yarn build
- name: Verify tarball contents
run: npm pack --dry-run