feat(image, react-image): add LoadClient
, update load
can return image, export all public apis of @fepack/image in @fepack/react-image
#181
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
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
quality: | |
name: Check quality | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
command: ["lint", "lint:pub", "test", "type:check"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8.5.1 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "pnpm" | |
cache-dependency-path: "pnpm-lock.yaml" | |
node-version-file: ".nvmrc" | |
- if: matrix.command == 'test' | |
run: pnpx playwright install | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm prepack | |
- run: pnpm ${{ matrix.command }} |