chore(deps): update app dependencies (main) #8097
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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=!./apps/* | |
- run: pnpm lint | |
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 |