Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/build-infra-integration.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build-infra-integration

on:
pull_request: {}
workflow_dispatch: {}

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0

- uses: actions/setup-node@v6
with:
node-version: "24.x"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
node-version: "24.x"
node-version: "24.x"
cache: "yarn"


- name: Enable Corepack
run: corepack enable

- name: Install dependencies
run: yarn install --immutable

- name: Build latest published specification
if: ${{ hashFiles('versions/*.md') != '' }}
run: yarn build latest

- name: Build source specification
if: ${{ hashFiles('src/*.md') != '' }}
run: yarn build src
7 changes: 5 additions & 2 deletions .github/workflows/respec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ jobs:
with:
node-version: "24.x"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
node-version: "24.x"
node-version: "24.x"
cache: "yarn"


- name: Enable Corepack
run: corepack enable

- name: Install dependencies
run: npm ci
run: yarn install --immutable

- uses: actions/checkout@v7
with:
Expand All @@ -37,7 +40,7 @@ jobs:
path: deploy

- name: Build HTML
run: npm run build
run: yarn build

- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/schema-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ jobs:
with:
node-version: "24.x"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
node-version: "24.x"
node-version: "24.x"
cache: "yarn"


- name: Enable Corepack
run: corepack enable

- name: Install dependencies
run: npm ci
run: yarn install --immutable

- uses: actions/checkout@v7
with:
Expand All @@ -41,7 +44,7 @@ jobs:
path: deploy

- name: Publish schemas
run: npm run publish-schemas
run: yarn publish-schemas

- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/schema-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ jobs:
with:
node-version: "24.x"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
node-version: "24.x"
node-version: "24.x"
cache: "yarn"


- name: Enable Corepack
run: corepack enable

- name: Install dependencies
run: npm ci
run: yarn install --immutable

- name: Run tests
run: npm run test
run: yarn test
env:
BASE: ${{ github.event.pull_request.base.ref }}
7 changes: 5 additions & 2 deletions .github/workflows/validate-markdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ jobs:
with:
node-version: "24.x"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
node-version: "24.x"
node-version: "24.x"
cache: "yarn"


- name: Enable Corepack
run: corepack enable

- name: Install dependencies
run: npm ci
run: yarn install --immutable

- name: Validate Markdown
run: npm run validate-markdown
run: yarn validate-markdown
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules/
.yarn/
coverage/
deploy-preview/
deploy/
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24
3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules
approvedGitRepositories:
- https://github.com/OAI/build-infra.git
Loading