fix: typescript errors with esm and cjs (#38) #140
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
name: Client | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: latest | |
cache: 'npm' | |
- name: Install Dependencies | |
run: npm install | |
- name: Client Build Check | |
run: npm run client:lint | |
- name: Shared Build | |
run: npm run shared:build | |
- name: Client Build Check | |
run: npm run client:build |