Skip to content

Commit e892a7b

Browse files
authored
Merge pull request #246 from Codex-/feat/abstract_main
v2
2 parents f5283c8 + ca76554 commit e892a7b

25 files changed

+4264
-1246
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,7 @@ jobs:
1818
- uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0 # Need history for changelog generation
21-
- uses: pnpm/action-setup@v4
22-
with:
23-
version: 9
24-
- uses: actions/setup-node@v4
25-
with:
26-
node-version: 20.x
27-
cache: pnpm
21+
- uses: asdf-vm/actions/install@v3
2822
- run: pnpm i
2923
- run: pnpm run build
3024
# We need to make sure the checked-in `index.js` actually matches what we expect it to be.

.github/workflows/test.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- uses: pnpm/action-setup@v4
14-
with:
15-
version: 9
16-
- uses: actions/setup-node@v4
17-
with:
18-
node-version: 20.x
19-
cache: pnpm
13+
- uses: asdf-vm/actions/install@v3
2014
- run: pnpm i
2115
- name: build
2216
run: pnpm run build:types
@@ -38,13 +32,7 @@ jobs:
3832
runs-on: ubuntu-latest
3933
steps:
4034
- uses: actions/checkout@v4
41-
- uses: pnpm/action-setup@v4
42-
with:
43-
version: 9
44-
- uses: actions/setup-node@v4
45-
with:
46-
node-version: 20.x
47-
cache: pnpm
35+
- uses: asdf-vm/actions/install@v3
4836
- run: pnpm i
4937
- name: test
5038
run: pnpm run test:coverage

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
nodejs 22.9.0
1+
nodejs 20.17.0
22
pnpm 9.11.0

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,21 +72,21 @@ The permissions required for this action to function correctly are:
7272

7373
For the sake of transparency please note that this action uses the following API calls:
7474

75-
- [Create a workflow dispatch event](https://docs.github.com/en/rest/reference/actions#create-a-workflow-dispatch-event)
75+
- [Create a workflow dispatch event](https://docs.github.com/en/rest/actions/workflows#create-a-workflow-dispatch-event)
7676
- POST `/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches`
7777
- Permissions:
7878
- `repo`
7979
- `actions:write`
80-
- [List repository workflows](https://docs.github.com/en/rest/reference/actions#list-repository-workflows)
80+
- [List repository workflows](https://docs.github.com/en/rest/actions/workflows#list-repository-workflows)
8181
- GET `/repos/{owner}/{repo}/actions/workflows`
8282
- Permissions:
8383
- `repo`
8484
- `actions:read`
85-
- [List workflow runs](https://docs.github.com/en/rest/reference/actions#list-workflow-runs)
85+
- [List workflow runs](https://docs.github.com/en/rest/actions/workflow-runs#list-workflow-runs-for-a-repository)
8686
- GET `/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs`
8787
- Permissions:
8888
- `repo`
89-
- [List jobs for a workflow run](https://docs.github.com/en/rest/reference/actions#list-jobs-for-a-workflow-run)
89+
- [List jobs for a workflow run](https://docs.github.com/en/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run)
9090
- GET `/repos/{owner}/{repo}/actions/runs/{run_id}/jobs`
9191
- Permissions:
9292
- `repo`

0 commit comments

Comments
 (0)