Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: tsx 사용 #66

Merged
merged 7 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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