-
Notifications
You must be signed in to change notification settings - Fork 0
105 lines (88 loc) · 3.06 KB
/
Copy pathci.yml
File metadata and controls
105 lines (88 loc) · 3.06 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
name: CI
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
changeset:
name: Changeset present for published package changes
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
fetch-depth: 0
persist-credentials: false
- name: Enforce release intent
# The repository owner publishes this versioned shared contract.
uses: stella/.github/.github/actions/changeset-policy@5dafee16c28009f17d3bc088f8aecdf9ce47a6d5
with:
release-paths: |
packages/typescript-config/**
packages/oxlint-config/**
packages/oxlint-plugin/**
generated-paths: |
bun.lock
packages/typescript-config/CHANGELOG.md
packages/typescript-config/package.json
packages/oxlint-config/CHANGELOG.md
packages/oxlint-config/package.json
packages/oxlint-plugin/CHANGELOG.md
packages/oxlint-plugin/package.json
package-files: |
packages/typescript-config/package.json
packages/oxlint-config/package.json
packages/oxlint-plugin/package.json
version-file: bun.lock
checks:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
with:
persist-credentials: false
- name: Set up Node
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: 22.18.0
- name: Set up Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.4.0
- name: Install dependencies
run: bun install --frozen-lockfile
# Bun validates the resolved graph but does not refresh or validate cached
# workspace self-versions. Release automation uses this same script in
# byte-preserving --write mode; CI keeps it in check-only mode.
- name: Lockfile workspace-version check
run: bun run check:lockfile-versions
- name: Typecheck
run: bun run typecheck
- name: Test
run: bun run test
- name: Lint
run: bun run lint
- name: Publint
run: bun run publint
- name: Pack dry run
run: bun run pack:dry-run
rust-lints:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
with:
persist-credentials: false
- name: Install Rust lint toolchain
run: |
rustup toolchain install nightly-2026-04-16 --profile minimal \
--component rustc-dev \
--component llvm-tools-preview
cargo install dylint-link --version 6.0.1 --locked
- name: Test Rust lints
run: cd rust-lints/stella_lints && cargo test