Skip to content

Commit 4b63f12

Browse files
authored
ci: fix new job config (#7071)
* ci: fix new job config Whoops. If your workflow is invalid, it doesn't even report as failed. And I hadn't marked the new jobs as required yet. * ci(lint): add missing build step to lint job
1 parent 94cb80a commit 4b63f12

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/format.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
format:
1111
name: Format
1212
if: "${{ !startsWith(github.head_ref, 'release-') }}"
13+
runs-on: ubuntu-latest
1314
steps:
1415
- name: Git checkout
1516
uses: actions/checkout@v4

.github/workflows/lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
lint:
1111
name: Lint
1212
if: "${{ !startsWith(github.head_ref, 'release-') }}"
13+
runs-on: ubuntu-latest
1314
steps:
1415
- name: Git checkout
1516
uses: actions/checkout@v4
@@ -20,5 +21,8 @@ jobs:
2021
cache: npm
2122
- name: Install core dependencies
2223
run: npm ci --no-audit
24+
# Almost not needed, but a single file in `scripts/` imports built code
25+
- name: Build package
26+
run: npm run build
2327
- name: Run lint
2428
run: npm run lint

0 commit comments

Comments
 (0)