Skip to content

feat: update ts-type-utils (#1445) #11

feat: update ts-type-utils (#1445)

feat: update ts-type-utils (#1445) #11

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: fmt-check
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches-ignore:
- 'develop'
- 'develop*'
- 'archive/**'
- 'deploy/**'
paths-ignore:
- '.gitignore'
- '**.png'
- '**.jpg'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
fmt-check:
# The type of runner that the job will run on
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: true
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Node.js 20.x
uses: actions/[email protected]
id: setup_node_id
with:
node-version: 20
cache: 'yarn'
cache-dependency-path: yarn.lock
# - run: echo '${{ toJSON(steps.setup_node_id.outputs) }}'
# - if: ${{ steps.setup_node_id.outputs.cache-hit != 'true' }}
- name: Install dependencies
run: yarn
- name: Setup
run: yarn fmt
- name: Check if there is no file diff
run: yarn zz:check:no-diff