build(deps): update pnpm to v9.13.2 #691
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: ci | |
on: | |
pull_request: | |
branches: | |
- 'master' | |
push: | |
branches: | |
- 'master' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
cache: pnpm | |
- run: pnpm i | |
- run: pnpm exec prettier --check ./ | |
- run: pnpm exec tsc | |
- run: pnpm run lint | |
- run: pnpm run build | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: pnpm/action-setup@v2 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
cache: pnpm | |
- run: pnpm i | |
- run: pnpm run test --coverage | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v4 |