Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/typescript-checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Typescript tests
on:
pull_request:
paths:
- 'beaker-vue/**'
- 'beaker-ts/**'
jobs:
typescript-checks:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install beaker-ts requirements
run: npm ci
working-directory: ./beaker-ts
- name: Build beaker-ts
run: npm run build
working-directory: ./beaker-ts
- name: Typecheck beaker-ts
run: tsc --noEmit --strict
working-directory: ./beaker-ts
- name: Install beaker-vue requirements
run: npm ci
working-directory: ./beaker-vue
- name: Check beaker-vue lock file
run: npm run lock-check
working-directory: ./beaker-vue
- name: Check beaker-vue types
run: npm run build
working-directory: ./beaker-vue
7 changes: 7 additions & 0 deletions beaker-vue/lock.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
os[]=linux
os[]=darwin
os[]=win32
cpu[]=x64
cpu[]=arm
cpu[]=arm64
cpu[]=ia32
Loading
Loading