Skip to content

chore(eslint): add import sort & prettier (#13) #79

chore(eslint): add import sort & prettier (#13)

chore(eslint): add import sort & prettier (#13) #79

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [18, 20, 21]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Set node version to ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: pnpm
- name: Install dependencies
run: pnpm install
# if has lint scripts
- name: Eslint Check
run: pnpm run lint
- name: Build
run: pnpm run build