Skip to content

Switch to unbuild. Check config with attw #1

Switch to unbuild. Check config with attw

Switch to unbuild. Check config with attw #1

Workflow file for this run

name: Library Config
on: pull_request
jobs:
check_library_config:
runs-on: ubuntu-latest
- name: Checkout

Check failure on line 8 in .github/workflows/library-config.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/library-config.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.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 library config
run: pnpm attw --pack .