feat: TS enhancements #96
Workflow file for this run
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
# This workflow will do a clean installation of node dependencies, cache/restore them, | |
# build the source code and run tests. It was created by using the following workflow | |
# as a template. | |
# | |
# https://pnpm.io/next/continuous-integration#github-actions | |
name: Build and test TypeScript SDK CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Setting up Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- name: Enabling pre-post scripts | |
run: pnpm config set enable-pre-post-scripts true | |
- run: pnpm install | |
- run: pnpm build | |
- run: pnpm lint | |
- run: pnpm test |