This repository was archived by the owner on Jan 27, 2025. It is now read-only.
feat: github workflows (#54) #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- '**' | |
name: lint | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.13.1] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install bun and Lint Test | |
run: | | |
curl -fsSL https://bun.sh/install | bash | |
export PATH=$HOME/.bun/bin:$PATH # Bun 설치 후 경로 설정 | |
bun install | |
bun run lint |