diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 4196baf083f..d834fc7eca1 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -10,6 +10,7 @@ jobs: format: name: Format if: "${{ !startsWith(github.head_ref, 'release-') }}" + runs-on: ubuntu-latest steps: - name: Git checkout uses: actions/checkout@v4 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2260dc9f12b..18333ee5edd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,6 +10,7 @@ jobs: lint: name: Lint if: "${{ !startsWith(github.head_ref, 'release-') }}" + runs-on: ubuntu-latest steps: - name: Git checkout uses: actions/checkout@v4 @@ -20,5 +21,8 @@ jobs: cache: npm - name: Install core dependencies run: npm ci --no-audit + # Almost not needed, but a single file in `scripts/` imports built code + - name: Build package + run: npm run build - name: Run lint run: npm run lint