Skip to content

Commit

Permalink
Add tsc check
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Apr 1, 2024
1 parent 53418cb commit 451696d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Test Package
on: [push]

jobs:
tsc:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build Dockerfile
run: docker build -t alumi .

- name: Run TSC
run: docker run alumi bash -c 'npm run build && cd tests && ./tests.sh'
5 changes: 5 additions & 0 deletions tests/tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

./init.sh

npx tsc

0 comments on commit 451696d

Please sign in to comment.