Skip to content

chore: don't specify the package manager #10

chore: don't specify the package manager

chore: don't specify the package manager #10

Workflow file for this run

name: Lint code and compile setup script
on:
push:
branches:
- main
pull_request:
branches:
- "**"
jobs:
lint:
uses: stegripe/workflows/.github/workflows/pnpm-lint.yaml@main
secrets: inherit
compile:
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 2
- name: Setup pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
- name: Setup Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: .node-version
check-latest: true
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Test compile
run: pnpm run build && pnpm run clean