Skip to content

test: #238 ✏️ check fmt and lint on actions #61

test: #238 ✏️ check fmt and lint on actions

test: #238 ✏️ check fmt and lint on actions #61

Workflow file for this run

name: Check packages
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: check fmt
run: pnpm fmt:check
- name: check lint
run:
- pnpm lint

Check failure on line 39 in .github/workflows/check.yml

View workflow run for this annotation

GitHub Actions / Check packages

Invalid workflow file

The workflow is not valid. .github/workflows/check.yml (Line: 39, Col: 11): A sequence was not expected
- pnpm lint:text
- name: check types
run: pnpm tsc --noEmit
- name: check building
run: pnpm build