chore(deps): update all non-major dependencies #9067
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: | |
- '**' | |
paths-ignore: | |
- docs/** | |
- docs-playground/** | |
- playgrounds/** | |
- scripts | |
pull_request: | |
branches: | |
- main | |
- "!v[0-9]*" | |
paths-ignore: | |
- docs/** | |
- docs-playground/** | |
- playgrounds/** | |
- scripts | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
- run: corepack enable | |
- name: Set node version to 18 | |
uses: actions/[email protected] | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
- run: pnpm i | |
- run: pnpm run build:stub | |
- run: pnpm run build:ci | |
- name: Run unit tests | |
run: pnpm run test | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
- run: corepack enable | |
- name: Set node version to 18 | |
uses: actions/[email protected] | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- run: pnpm i | |
- run: pnpm run build:stub | |
- run: pnpm run build:ci | |
- name: Run test coverage | |
run: pnpm run test:coverage | |
- name: Publish coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: ./packages | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
- run: corepack enable | |
- name: Set node version to 18 | |
uses: actions/[email protected] | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- run: pnpm i | |
- run: pnpm run build:stub | |
- run: pnpm run build:ci | |
- name: Run eslint | |
run: pnpm run lint | |
size: | |
runs-on: ubuntu-latest | |
env: | |
CI_JOB_NUMBER: 1 | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
- run: corepack enable | |
- name: Set node version to 18 | |
uses: actions/[email protected] | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- run: pnpm i | |
- run: pnpm run build:stub | |
- run: pnpm run build:ci | |
- run: pnpm run size |