Skip to content

test: need format

test: need format #25

Workflow file for this run

name: build
permissions:
pull-requests: write
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: "20"
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 9.1.0
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@v4
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 check:ci
# FIXME: add lint and env settings
# - run: pnpm lint
# env:
# SKIP_ENV_VALIDATION: true
- run: pnpm build
# env:
# SKIP_ENV_VALIDATION: true