Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

chore(deps): lock file maintenance #68

chore(deps): lock file maintenance

chore(deps): lock file maintenance #68

Workflow file for this run

name: build
on:
push:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Get pnpm directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node-
- run: pnpm i --frozen-lockfile
- run: pnpm fmt
- run: pnpm lint
- run: pnpm build