Skip to content

Commit 49801d3

Browse files
authored
chore: switch to aube (#203)
1 parent e14c046 commit 49801d3

12 files changed

Lines changed: 760 additions & 1300 deletions

File tree

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,17 @@ updates:
99
cooldown:
1010
default-days: 7
1111
open-pull-requests-limit: 5
12+
13+
- package-ecosystem: github-actions
14+
directory: '/'
15+
schedule:
16+
interval: 'weekly'
17+
day: 'sunday'
18+
time: '16:00'
19+
cooldown:
20+
default-days: 7
21+
open-pull-requests-limit: 5
22+
groups:
23+
actions:
24+
patterns:
25+
- '*'

.github/workflows/ci.yml

Lines changed: 17 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,58 +2,46 @@ name: CI
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
8+
9+
env:
10+
MISE_LOCKED: "1"
811

912
jobs:
1013
build:
1114
runs-on: ubuntu-latest
1215

13-
strategy:
14-
matrix:
15-
node-version: [24.x]
16-
1716
steps:
18-
- uses: actions/checkout@v4
19-
- name: Enable Corepack
20-
run: npm i -g --force corepack && corepack enable
21-
- name: Use Node.js ${{ matrix.node-version }}
22-
uses: actions/setup-node@v4
17+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
18+
- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
2319
with:
24-
node-version: ${{ matrix.node-version }}
25-
cache: 'pnpm'
20+
install: true
21+
cache: true
2622

27-
- run: pnpm i --frozen-lockfile
23+
- run: aube ci --frozen-lockfile
2824
- run: node --run lint
2925
- run: node --run ts-check
3026
- run: node --run test
3127
- run: node --run build
28+
3229
e2e-tests:
3330
runs-on: ubuntu-latest
3431

35-
strategy:
36-
matrix:
37-
node-version: [24.x]
38-
3932
steps:
40-
- uses: actions/checkout@v4
41-
- name: Enable Corepack
42-
run: npm i -g --force corepack && corepack enable
43-
44-
- name: Use Node.js ${{ matrix.node-version }}
45-
uses: actions/setup-node@v4
33+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
34+
- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
4635
with:
47-
node-version: ${{ matrix.node-version }}
48-
cache: 'pnpm'
36+
install: true
37+
cache: true
4938

5039
- run: sudo apt update
51-
- uses: awalsh128/cache-apt-pkgs-action@latest
40+
- uses: awalsh128/cache-apt-pkgs-action@acb598e5ddbc6f68a970c5da0688d2f3a9f04d05 # v1.6.0
5241
with:
5342
packages: 'libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2 libgtk-3-0 libx11-xcb1 libxcb-dri3-0 libxss1 xvfb dbus-x11'
5443
version: 1.0
5544

56-
- run: curl https://mise.run | sh
57-
- run: pnpm i --frozen-lockfile
45+
- run: aube ci --frozen-lockfile
5846
- run: node --run build
5947
- run: xvfb-run -a node --run e2e-tests

.github/workflows/docs.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,24 @@ concurrency:
1717
jobs:
1818
build:
1919
runs-on: ubuntu-latest
20+
env:
21+
MISE_LOCKED: "1"
2022
steps:
21-
- name: Checkout
22-
uses: actions/checkout@v4
23-
- name: Install, build, and upload your site
24-
uses: withastro/action@v3
23+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
24+
- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
2525
with:
26-
path: docs
27-
node-version: 24
28-
package-manager: pnpm@9
26+
install: true
27+
cache: true
28+
29+
- run: aube ci --frozen-lockfile
30+
- name: Build docs
31+
working-directory: docs
32+
run: aube run build
33+
34+
- name: Upload Pages artifact
35+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
36+
with:
37+
path: docs/dist
2938

3039
deploy:
3140
environment:
@@ -37,4 +46,4 @@ jobs:
3746
steps:
3847
- name: Deploy to GitHub Pages
3948
id: deployment
40-
uses: actions/deploy-pages@v4
49+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4

.github/workflows/publish.yml

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,22 @@ on:
44
push:
55
tags: ['v*']
66
workflow_dispatch:
7+
8+
env:
9+
MISE_LOCKED: "1"
10+
711
jobs:
812
build:
913
runs-on: ubuntu-latest
1014

11-
strategy:
12-
matrix:
13-
node-version: [24.x]
14-
1515
steps:
16-
- uses: actions/checkout@v4
17-
18-
- name: Use Node.js ${{ matrix.node-version }}
19-
uses: actions/setup-node@v4
16+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
17+
- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
2018
with:
21-
node-version: ${{ matrix.node-version }}
19+
install: true
20+
cache: true
2221

23-
- run: npm i -g --force corepack && corepack enable && pnpm i --frozen-lockfile
22+
- run: aube ci --frozen-lockfile
2423
- run: node --run lint
2524
- run: node --run ts-check
2625
- run: node --run build
@@ -30,17 +29,17 @@ jobs:
3029
runs-on: ubuntu-latest
3130

3231
steps:
33-
- uses: actions/checkout@v4
34-
- name: Use Node.js
35-
uses: actions/setup-node@v4
32+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
33+
- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
3634
with:
37-
node-version: '24.x'
35+
install: true
36+
cache: true
3837

39-
- run: npm i -g --force corepack && corepack enable && pnpm i --frozen-lockfile
38+
- run: aube ci --frozen-lockfile
4039
- run: node --run build
4140

4241
- name: Publish to Open VSX Registry
43-
uses: HaaLeo/publish-vscode-extension@v1
42+
uses: HaaLeo/publish-vscode-extension@f4ece70f329f66686bd71c54b1671353fe320e49 # v1
4443
with:
4544
pat: ${{ secrets.OPEN_VSX_TOKEN }}
4645
dependencies: false
@@ -50,19 +49,18 @@ jobs:
5049
runs-on: ubuntu-latest
5150

5251
steps:
53-
- uses: actions/checkout@v4
54-
55-
- name: Use Node.js
56-
uses: actions/setup-node@v4
52+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
53+
- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
5754
with:
58-
node-version: '24.x'
55+
install: true
56+
cache: true
5957

60-
- run: npm i -g --force corepack && corepack enable && pnpm i --frozen-lockfile
58+
- run: aube ci --frozen-lockfile
6159
- run: node --run build
6260

6361
- name: Publish to Visual Studio Marketplace
64-
uses: HaaLeo/publish-vscode-extension@v1
62+
uses: HaaLeo/publish-vscode-extension@f4ece70f329f66686bd71c54b1671353fe320e49 # v1
6563
with:
6664
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
6765
registryUrl: https://marketplace.visualstudio.com
68-
dependencies: false
66+
dependencies: false

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
release-please:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: googleapis/release-please-action@v4
16+
- uses: googleapis/release-please-action@5c625bfb5d1ff62eadeeb3772007f7f66fdcf071 # v4
1717
with:
1818
release-type: node
1919
token: '${{ secrets.RELEASE_PLEASE_TOKEN }}'

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
.vscode-test-web/
55
node_modules
66
mise.local.toml
7+
mise.local.lock
78
dist/
89
.DS_Store
910
doc/.astro

.npmrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)