Skip to content

chore: check file changes in test workflow #57

chore: check file changes in test workflow

chore: check file changes in test workflow #57

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm
- name: Install packages
run: npm ci
- name: Check compile error
run: npm run test:type
- name: Check lint error
run: npm run lint
- name: Run unit test
run: npm run test:unit
- name: Check file changes
run: |
npm run build
npx prettier --version
npx prettier --check . || exit 100
git status --short
git diff
git diff --quiet