Skip to content

Check types

Check types #89

Workflow file for this run

name: Check types
on:
# NOTE: Runs on branch to tag creation.
create:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
debug:
description: Sets "NODE_ENV" to "debug".
default: false
type: boolean
jobs:
check-types:
runs-on: ubuntu-latest
container: node:lts
steps:
- uses: thaibault/install-npm-package-dependencies-action@main
with:
debug: ${{ inputs.debug }}
- name: Check-types
env:
NODE_ENV: ${{ contains(inputs.debug, 'true') && 'debug' }}
run: yarn check:types