Skip to content

Merge pull request #490 from primer/dependabot/npm_and_yarn/developme… #918

Merge pull request #490 from primer/dependabot/npm_and_yarn/developme…

Merge pull request #490 from primer/dependabot/npm_and_yarn/developme… #918

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test -- --ci
type-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Check TypeScript types
run: npm run type-check
- name: Build package types
run: npm run build
- name: Check published TypeScript types
run: npx @arethetypeswrong/cli --pack .