Skip to content

chore: fix typescript-publish action #7

chore: fix typescript-publish action

chore: fix typescript-publish action #7

Workflow file for this run

name: TypeScript Test
on:
push:
branches: [ main ]
paths:
- 'typescript/**'
pull_request:
branches: [ main ]
paths:
- 'typescript/**'
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: '9'
- name: Install dependencies
working-directory: typescript
run: pnpm install
- name: Build project
working-directory: typescript
run: pnpm build
- name: Run tests
working-directory: typescript
run: pnpm test