chore(deps): update all non-major dependencies #516
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: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18, 20] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install & Build | |
run: | | |
pnpm install | |
pnpm build | |
- name: Lint | |
run: pnpm lint | |
- name: Test | |
run: pnpm test | |
examples: | |
needs: build | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [18, 20] | |
example-name: | |
[ | |
example-jest, | |
example-jest-shadow-dom, | |
example-vitest, | |
example-vitest-shadow-dom, | |
example-create-react-app, | |
] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install & Build | |
run: | | |
pnpm install | |
pnpm build | |
- name: Build and test ${{ matrix.example-name }} | |
working-directory: ./examples/${{ matrix.example-name }} | |
run: | | |
pnpm install | |
pnpm test | |
pnpm typecheck |