Skip to content

Use tsx

Use tsx #146

Workflow file for this run

name: CI
on: push
env:
PNPM_VERSION: 8
jobs:
Build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: ${{ env.PNPM_VERSION }}
- name: Setup NodeJS ${{ matrix.node }}
uses: actions/setup-node@v3
with:
cache: pnpm
node-version: ${{ matrix.node }}
- run: pnpm install
- run: pnpm start
Tests:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: ${{ env.PNPM_VERSION }}
- name: Setup NodeJS ${{ matrix.node }}
uses: actions/setup-node@v3
with:
cache: pnpm
node-version: ${{ matrix.node }}
- run: pnpm install
- run: pnpm test -- --colors