1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 21:20:27 +00:00
Files
browser/.github/workflows/nx.yml
Hinton 85c21c9e0c Merge branch 'main' of github.com:bitwarden/clients into chromium-import-abe
# Conflicts:
#	apps/desktop/desktop_native/Cargo.lock
#	apps/desktop/desktop_native/bitwarden_chromium_importer/src/lib.rs
#	apps/desktop/desktop_native/chromium_importer/Cargo.toml
#	apps/desktop/desktop_native/chromium_importer/README.md
#	apps/desktop/desktop_native/chromium_importer/src/chromium/platform/abe.rs
#	apps/desktop/desktop_native/chromium_importer/src/chromium/platform/abe_config.rs
#	apps/desktop/desktop_native/chromium_importer/src/chromium/platform/bin/bitwarden_chromium_import_helper.rs
2025-10-28 14:10:57 +01:00

43 lines
1.2 KiB
YAML

name: Experimental Nx CI
on:
pull_request:
types: [opened, synchronize]
permissions:
contents: read
jobs:
nx-experiment:
name: Run Nx Affected Tasks
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
persist-credentials: false
- name: Get Node Version
id: retrieve-node-version
working-directory: ./
run: |
NODE_NVMRC=$(cat .nvmrc)
NODE_VERSION=${NODE_NVMRC/v/''}
echo "node_version=$NODE_VERSION" >> "$GITHUB_OUTPUT"
- name: Set up Node
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
node-version: ${{ env._NODE_VERSION }}
- name: Install dependencies
run: npm ci
- name: Set Nx SHAs for affected detection
uses: nrwl/nx-set-shas@826660b82addbef3abff5fa871492ebad618c9e1 # v4.3.3
- name: Run Nx affected tasks
continue-on-error: true
run: npx nx affected -t build lint test