This repository has been archived by the owner on Jun 25, 2024. It is now read-only.
Update all non-major dependencies - autoclosed #276
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: | |
pull_request: | |
push: | |
branches: [$default-branch] | |
jobs: | |
packages: | |
name: Check npm install | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "16.x" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
lint: | |
name: Run ESLint | |
runs-on: ubuntu-latest | |
needs: [packages] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "16.x" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run ESLint | |
run: pnpm eslint . | |
format: | |
name: Run Prettier | |
runs-on: ubuntu-latest | |
needs: [packages] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "16.x" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run Prettier | |
run: pnpm prettier --check . | |
typecheck: | |
name: Run TypeScript | |
runs-on: ubuntu-latest | |
needs: [packages] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "16.x" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run TypeScript | |
run: pnpm tsc --noEmit | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
needs: [packages] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "16.x" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build | |
run: pnpm build | |
test: | |
name: Run tests | |
runs-on: ubuntu-latest | |
needs: [packages] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run tests | |
run: pnpm test |