Update all non-major dependencies #1229
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
name: CI | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: corepack enable | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.pnpm-store | |
key: v1-${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
v1-${{ runner.os }}-pnpm- | |
- name: Install dependencies | |
run: pnpm i --frozen-lockfile | |
- run: pnpm lint | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: corepack enable | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.pnpm-store | |
key: v1-${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
v1-${{ runner.os }}-pnpm- | |
- name: Install dependencies | |
run: pnpm i --frozen-lockfile | |
- run: pnpm typecheck | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: corepack enable | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.pnpm-store | |
key: v1-${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
v1-${{ runner.os }}-pnpm- | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.pkg-cache | |
key: v1-${{ runner.os }}-pkg-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
v1-${{ runner.os }}-pkg- | |
- name: Install dependencies | |
run: pnpm i --frozen-lockfile | |
- run: pnpm build |