From 2b9212c4e50c60e06ea48b693163fd7120a10e4c Mon Sep 17 00:00:00 2001 From: Manuel Date: Tue, 10 Oct 2023 10:50:19 +0200 Subject: [PATCH] feat(actions): add type check action --- .github/workflows/type-check.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/type-check.yaml diff --git a/.github/workflows/type-check.yaml b/.github/workflows/type-check.yaml new file mode 100644 index 00000000..15e368c6 --- /dev/null +++ b/.github/workflows/type-check.yaml @@ -0,0 +1,22 @@ +name: Type Check + +on: push + +env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + +jobs: + format-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + persist-credentials: false + - uses: actions/setup-node@v3 + with: + node-version: 18 + cache: "npm" + - run: npm ci + - run: npm run type-check