Skip to content

fix(deps): Update dependency @sanity/next-loader to v1.1.10 (main) #5427

fix(deps): Update dependency @sanity/next-loader to v1.1.10 (main)

fix(deps): Update dependency @sanity/next-loader to v1.1.10 (main) #5427

Workflow file for this run

---
name: CI
on:
merge_group:
pull_request:
types: [opened, synchronize]
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read # for checkout
jobs:
build:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: lts/*
- run: pnpm install --ignore-scripts
- run: pnpm build --filter=./packages/*
- run: pnpm lint
- run: pnpm type-check
test:
needs: build
timeout-minutes: 15
strategy:
# A test failing on windows doesn't mean it'll fail on macos. It's useful to let all tests run to its completion to get the full picture
fail-fast: false
matrix:
# https://nodejs.org/en/about/releases/
# https://pnpm.io/installation#compatibility
# @TODO re-enable `current` once it recovers
# node: [lts/-1, lts/*, current]
node: [lts/-1, lts/*]
os: [ubuntu-latest]
# Also test the LTS on mac and windows
include:
- os: macos-latest
node: lts/*
# - os: windows-latest
# node: lts/*
runs-on: ${{ matrix.os }}
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
# It's only necessary to do this for windows, as mac and ubuntu are sane OS's that already use LF
- if: matrix.os == 'windows-latest'
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: ${{ matrix.node }}
- run: pnpm install --loglevel=error --ignore-scripts
- run: pnpm test
- run: npx ls-engines
working-directory: packages/next-sanity