chore(pinia): change yarn to pnpm in pinia pkg scripts (#2579) #1416
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: test | |
on: | |
push: | |
paths-ignore: | |
- 'packages/docs/**' | |
- 'packages/playground/**' | |
pull_request: | |
branches: v2 | |
paths-ignore: | |
- 'packages/docs/**' | |
- 'packages/playground/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm run lint | |
- run: pnpm run test:types | |
- run: pnpm run -r dev:prepare | |
- run: pnpm run test:vitest | |
- run: pnpm run build | |
- run: pnpm run build:dts | |
- run: pnpm run test:dts | |
- run: pnpm run size | |
- uses: codecov/codecov-action@v2 |