-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (31 loc) · 893 Bytes
/
Copy pathci.yml
File metadata and controls
40 lines (31 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Managed by sh1pt Actions Fleet
# pack: node-pnpm-ci@1.0.0
# install: sh1pt-actions-store
# hash: sha256:aa7aeaf3bddaf7bf324ceb02f46ab421bb229d5f5917fdb6f7a1a948a4a9fcce
name: CI
on:
push:
branches: [main, master]
pull_request:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v6
# No `version:` here — pnpm/action-setup reads it from the
# `packageManager` field in package.json (pnpm@9.15.0). Pinning both
# causes ERR_PNPM_BAD_PM_VERSION.
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v6
with:
node-version: '24'
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm typecheck
- run: pnpm test