Update all non-major dependencies #2524
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: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: BeeeQueue/setup-node@corepack | |
with: | |
node-version: 20 | |
corepack: true | |
- name: find pnpm cache path | |
id: cache | |
run: echo "path=$(pnpm store path)" >> $GITHUB_OUTPUT | |
- uses: actions/cache@v4 | |
with: | |
path: ${{ steps.cache.outputs.path }} | |
key: v1-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
v1-pnpm- | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- run: pnpm nuxi prepare | |
- run: pnpm lint | |
env: | |
NODE_OPTIONS: --max-old-space-size=8192 | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: BeeeQueue/setup-node@corepack | |
with: | |
node-version: 20 | |
corepack: true | |
- name: find pnpm cache path | |
id: cache | |
run: echo "path=$(pnpm store path)" >> $GITHUB_OUTPUT | |
- uses: actions/cache@v4 | |
with: | |
path: ${{ steps.cache.outputs.path }} | |
key: v1-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
v1-pnpm- | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- run: pnpm nuxi prepare | |
- run: pnpm typecheck | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: BeeeQueue/setup-node@corepack | |
with: | |
node-version: 20 | |
corepack: true | |
- name: find pnpm cache path | |
id: cache | |
run: echo "path=$(pnpm store path)" >> $GITHUB_OUTPUT | |
- uses: actions/cache@v4 | |
with: | |
path: ${{ steps.cache.outputs.path }} | |
key: v1-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
v1-pnpm- | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- run: pnpm build |