Skip to content

Node

Node #108

Workflow file for this run

name: Node
concurrency:
group: Node-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
security-events: write
contents: write
pull-requests: write
on:
workflow_dispatch:
push:
branches: [Current]
pull_request:
branches: [Current]
workflow_call:
jobs:
Pre-Publish:
runs-on: ubuntu-latest
env:
ADBLOCK: true
ASTRO_TELEMETRY_DISABLED: 1
AUTOMATEDLAB_TELEMETRY_OPTOUT: 1
AZURE_CORE_COLLECT_TELEMETRY: 0
CHOOSENIM_NO_ANALYTICS: 1
DIEZ_DO_NOT_TRACK: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT: 1
DO_NOT_TRACK: 1
ET_NO_TELEMETRY: 1
GATSBY_TELEMETRY_DISABLED: 1
GATSBY_TELEMETRY_OPTOUT: 1
GATSBY_TELEMETRY_OPT_OUT: 1
GRIT_TELEMETRY_DISABLED: 1
HASURA_GRAPHQL_ENABLE_TELEMETRY: false
HINT_TELEMETRY: off
HOMEBREW_NO_ANALYTICS: 1
INFLUXD_REPORTING_DISABLED: true
ITERATIVE_DO_NOT_TRACK: 1
NEXT_TELEMETRY_DEBUG: 1
NEXT_TELEMETRY_DISABLED: 1
NG_CLI_ANALYTICS: false
NUXT_TELEMETRY_DISABLED: 1
PIN_DO_NOT_TRACK: 1
POWERSHELL_TELEMETRY_OPTOUT: 1
SAM_CLI_TELEMETRY: 0
STNOUPGRADE: 1
STRIPE_CLI_TELEMETRY_OPTOUT: 1
TELEMETRY_DISABLED: 1
TERRAFORM_TELEMETRY: 0
VCPKG_DISABLE_METRICS: 1
strategy:
matrix:
node-version: [18, 19, 20]
steps:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: 9.3.0
run_install: |
- recursive: true
args: [
--link-workspace-packages=true,
--lockfile-only,
--prefer-frozen-lockfile=false,
--shamefully-hoist=false,
--shared-workspace-lockfile=true,
--strict-peer-dependencies=false,
--unsafe-perm=true
]
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./benchmark/pnpm-lock.yaml
- run: pnpm install
working-directory: ./benchmark
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-benchmark-Node-${{ matrix.node-version }}-Target
path: ./benchmark/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./crates/biome_formatter_test/Source/prettier/pnpm-lock.yaml
- run: pnpm install
working-directory: ./crates/biome_formatter_test/Source/prettier
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-crates-biome_formatter_test-Source-prettier-Node-${{ matrix.node-version }}-Target
path: ./crates/biome_formatter_test/Source/prettier/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./pnpm-lock.yaml
- run: pnpm install
working-directory: .
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-Node-${{ matrix.node-version }}-Target
path: ./Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./packages/@biomejs/backend-jsonrpc/pnpm-lock.yaml
- run: pnpm install
working-directory: ./packages/@biomejs/backend-jsonrpc
- run: pnpm run build
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-@biomejs-backend-jsonrpc-Node-${{ matrix.node-version }}-Target
path: ./packages/@biomejs/backend-jsonrpc/Target
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-@biomejs-backend-jsonrpc-Node-${{ matrix.node-version }}-Target
path: ./packages/@biomejs/backend-jsonrpc/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./packages/@biomejs/biome/pnpm-lock.yaml
- run: pnpm install
working-directory: ./packages/@biomejs/biome
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-@biomejs-biome-Node-${{ matrix.node-version }}-Target
path: ./packages/@biomejs/biome/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./packages/@biomejs/cli-darwin-arm64/pnpm-lock.yaml
- run: pnpm install
working-directory: ./packages/@biomejs/cli-darwin-arm64
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-@biomejs-cli-darwin-arm64-Node-${{ matrix.node-version }}-Target
path: ./packages/@biomejs/cli-darwin-arm64/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./packages/@biomejs/cli-darwin-x64/pnpm-lock.yaml
- run: pnpm install
working-directory: ./packages/@biomejs/cli-darwin-x64
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-@biomejs-cli-darwin-x64-Node-${{ matrix.node-version }}-Target
path: ./packages/@biomejs/cli-darwin-x64/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./packages/@biomejs/cli-linux-arm64-musl/pnpm-lock.yaml
- run: pnpm install
working-directory: ./packages/@biomejs/cli-linux-arm64-musl
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-@biomejs-cli-linux-arm64-musl-Node-${{ matrix.node-version }}-Target
path: ./packages/@biomejs/cli-linux-arm64-musl/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./packages/@biomejs/cli-linux-arm64/pnpm-lock.yaml
- run: pnpm install
working-directory: ./packages/@biomejs/cli-linux-arm64
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-@biomejs-cli-linux-arm64-Node-${{ matrix.node-version }}-Target
path: ./packages/@biomejs/cli-linux-arm64/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./packages/@biomejs/cli-linux-x64-musl/pnpm-lock.yaml
- run: pnpm install
working-directory: ./packages/@biomejs/cli-linux-x64-musl
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-@biomejs-cli-linux-x64-musl-Node-${{ matrix.node-version }}-Target
path: ./packages/@biomejs/cli-linux-x64-musl/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./packages/@biomejs/cli-linux-x64/pnpm-lock.yaml
- run: pnpm install
working-directory: ./packages/@biomejs/cli-linux-x64
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-@biomejs-cli-linux-x64-Node-${{ matrix.node-version }}-Target
path: ./packages/@biomejs/cli-linux-x64/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./packages/@biomejs/cli-win32-arm64/pnpm-lock.yaml
- run: pnpm install
working-directory: ./packages/@biomejs/cli-win32-arm64
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-@biomejs-cli-win32-arm64-Node-${{ matrix.node-version }}-Target
path: ./packages/@biomejs/cli-win32-arm64/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./packages/@biomejs/cli-win32-x64/pnpm-lock.yaml
- run: pnpm install
working-directory: ./packages/@biomejs/cli-win32-x64
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-@biomejs-cli-win32-x64-Node-${{ matrix.node-version }}-Target
path: ./packages/@biomejs/cli-win32-x64/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./packages/@biomejs/js-api/pnpm-lock.yaml
- run: pnpm install
working-directory: ./packages/@biomejs/js-api
- run: pnpm run build
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-@biomejs-js-api-Node-${{ matrix.node-version }}-Target
path: ./packages/@biomejs/js-api/Target
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-@biomejs-js-api-Node-${{ matrix.node-version }}-Target
path: ./packages/@biomejs/js-api/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./packages/@biomejs/wasm-bundler/pnpm-lock.yaml
- run: pnpm install
working-directory: ./packages/@biomejs/wasm-bundler
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-@biomejs-wasm-bundler-Node-${{ matrix.node-version }}-Target
path: ./packages/@biomejs/wasm-bundler/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./packages/@biomejs/wasm-nodejs/pnpm-lock.yaml
- run: pnpm install
working-directory: ./packages/@biomejs/wasm-nodejs
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-@biomejs-wasm-nodejs-Node-${{ matrix.node-version }}-Target
path: ./packages/@biomejs/wasm-nodejs/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./packages/@biomejs/wasm-web/pnpm-lock.yaml
- run: pnpm install
working-directory: ./packages/@biomejs/wasm-web
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-@biomejs-wasm-web-Node-${{ matrix.node-version }}-Target
path: ./packages/@biomejs/wasm-web/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./packages/aria-data/pnpm-lock.yaml
- run: pnpm install
working-directory: ./packages/aria-data
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-aria-data-Node-${{ matrix.node-version }}-Target
path: ./packages/aria-data/Target
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: ./packages/tailwindcss-config-analyzer/pnpm-lock.yaml
- run: pnpm install
working-directory: ./packages/tailwindcss-config-analyzer
- run: pnpm run prepublishOnly
working-directory: .
- uses: actions/[email protected]
with:
name: .-packages-tailwindcss-config-analyzer-Node-${{ matrix.node-version }}-Target
path: ./packages/tailwindcss-config-analyzer/Target