Skip to content

Commit

Permalink
build: tsx 사용 (#66)
Browse files Browse the repository at this point in the history
* build: tsx 사용

* ci: windows와 mac에서 동작 확인

* fixup! build: tsx 사용

* ci: 리눅스에서만 prettier 적용

CRLF 문제 해결

* test:  타입스크립트 동작 여부 검사

* build: tsx를 그대로 사용

* ci: windows && node 20.9.0일 시 테스트 스킵

---------

Co-authored-by: nocontribute <>
  • Loading branch information
scarf005 authored Nov 6, 2023
1 parent 74af6eb commit 426dbe1
Show file tree
Hide file tree
Showing 4 changed files with 391 additions and 438 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node: [18.18.2, 20.9.0, 21.x]
node: [20.9.0, 21.x]
os: [ubuntu-latest, windows-latest, macos-latest]

name: Node.js ${{ matrix.node }}
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}/Node.js ${{ matrix.node }}

steps:
- uses: actions/checkout@v3
Expand All @@ -25,6 +25,11 @@ jobs:
cache: npm

- run: npm ci
- name: 포매팅

- if: startsWith( matrix.os, 'ubuntu' )
name: 포매팅
run: npx prettier --check .
- run: npm test

# windows + node v20.9.0에서 glob이 제대로 동작하지 않음
- if: ${{ !( startsWith( matrix.os, 'windows' ) && matrix.node == '20.9.0' ) }}
run: npm test
Loading

0 comments on commit 426dbe1

Please sign in to comment.