Skip to content

Use Awaited type to avoid Promise<Promise<T>> #123

Use Awaited type to avoid Promise<Promise<T>>

Use Awaited type to avoid Promise<Promise<T>> #123

Workflow file for this run

name: node-ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Install dependencies
run: pnpm i
- name: Build
run: pnpm run build
- name: Test
run: pnpm run test
- name: Prettier check
run: pnpm run prettier:check