Merge pull request #11 from FastLane-Labs/update-polygon-addresses #7
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: TypeScript Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
name: Run TypeScript Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9.9.0 | |
- name: Install dependencies | |
working-directory: ./typescript | |
run: pnpm install --frozen-lockfile | |
- name: Build | |
working-directory: ./typescript | |
run: pnpm build | |
- name: Run tests | |
working-directory: ./typescript | |
run: pnpm test |