Skip to content

Commit dbfb766

Browse files
authored
feat: replace tracked config view with projects list view (#253)
1 parent dba623d commit dbfb766

31 files changed

Lines changed: 5592 additions & 4934 deletions

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,25 @@ jobs:
2626
- run: node --run test
2727
- run: node --run build
2828

29+
# same build as .github/workflows/docs.yml, so a docs breakage (e.g. a
30+
# lockfile losing the docs importer) fails the PR instead of the deploy
31+
docs:
32+
runs-on: ubuntu-latest
33+
34+
steps:
35+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
36+
- uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
37+
with:
38+
install: true
39+
cache: true
40+
41+
- name: Install docs dependencies
42+
working-directory: docs
43+
run: aube ci --frozen-lockfile
44+
- name: Build docs
45+
working-directory: docs
46+
run: aube run build
47+
2948
e2e-tests:
3049
runs-on: ubuntu-latest
3150

.github/workflows/docs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ jobs:
2626
install: true
2727
cache: true
2828

29-
- run: aube ci --frozen-lockfile
29+
# run the install from the docs package so the workspace importer is
30+
# always covered, even if the root lockfile regresses again
31+
- name: Install docs dependencies
32+
working-directory: docs
33+
run: aube ci --frozen-lockfile
3034
- name: Build docs
3135
working-directory: docs
3236
run: aube run build

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ mise.local.toml
77
mise.local.lock
88
dist/
99
.DS_Store
10-
doc/.astro
10+
docs/.astro

.vscode-test.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,28 @@ module.exports = defineConfig([
7373
timeout: 60_000,
7474
},
7575
},
76+
{
77+
label: "projects",
78+
files: "src/e2e-tests/projects/*.e2e.ts",
79+
workspaceFolder: path.join(fixturesPath, "projects-workspace"),
80+
env: {
81+
MISE_CEILING_PATHS: fixturesPath,
82+
MISE_LOCKED: "0",
83+
MISE_TRUSTED_CONFIG_PATHS: fixturesPath,
84+
// Keep the machine's own tracked configs and global config out of the
85+
// projects view so results match between dev machines and CI.
86+
MISE_STATE_DIR: path.join(fixturesPath, "projects-workspace", ".state"),
87+
MISE_GLOBAL_CONFIG_FILE: path.join(
88+
fixturesPath,
89+
"projects-workspace",
90+
"global-config.toml",
91+
),
92+
},
93+
mocha: {
94+
require: ["tsx/cjs"],
95+
timeout: 60_000,
96+
},
97+
},
7698
{
7799
label: "monorepo",
78100
files: "src/e2e-tests/monorepo/*.e2e.ts",

0 commit comments

Comments
 (0)