Skip to content

fix: Upgrade to Nitro 0.31.5 and build order #197

fix: Upgrade to Nitro 0.31.5 and build order

fix: Upgrade to Nitro 0.31.5 and build order #197

Workflow file for this run

name: Run Nitrogen
on:
push:
branches:
- main
paths:
- '.github/workflows/run-nitrogen.yml'
- 'src/specs/**'
- '**/nitro.json'
- '**/package.json'
pull_request:
paths:
- '.github/workflows/run-nitrogen.yml'
- 'src/specs/**'
- '**/nitro.json'
- '**/package.json'
jobs:
lint:
name: Run Nitrogen
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Install npm dependencies (bun)
run: bun install
- name: Build the typescript types
run: bun run build
- name: Run nitrogen for NitroImage
run: bun image specs
- name: Run nitrogen for NitroWebImage
run: bun web-image specs
- name: Verify no files have changed after nitrogen
run: git diff --exit-code HEAD -- . ':(exclude)bun.lockb'