fix(deps): update all non-major dependencies #1038
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: | |
paths-ignore: | |
- 'docs/pages/**' | |
branches: | |
- main | |
pull_request: | |
paths-ignore: | |
- 'docs/pages/**' | |
branches: | |
- main | |
jobs: | |
unittest: | |
strategy: | |
matrix: | |
node-version: ['20.x', '22.x'] | |
os: [ubuntu-latest, windows-latest] | |
name: Unit Tests - Node.js ${{ matrix.node-version }} (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Install Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# registry-url required. Learn more at | |
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | |
registry-url: 'https://registry.npmjs.org' | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Stub | |
run: pnpm run packages:stub | |
- name: Test | |
run: pnpm run test:run | |
lint: | |
name: Lint | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Install Node.js 22.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
# registry-url required. Learn more at | |
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | |
registry-url: 'https://registry.npmjs.org' | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Lint | |
run: pnpm run lint | |
typecheck: | |
name: TypeCheck | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Install Node.js 22.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
# registry-url required. Learn more at | |
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | |
registry-url: 'https://registry.npmjs.org' | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: TypeCheck | |
run: pnpm run packages:stub && pnpm run typecheck | |
package-build-test: | |
name: Packages Build Test | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Install Node.js 22.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
# registry-url required. Learn more at | |
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | |
registry-url: 'https://registry.npmjs.org' | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Packages Build | |
run: pnpm run packages:build |