|
|
|
|
@ -19,23 +19,20 @@ jobs:
|
|
|
|
|
filter: tree:0
|
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# This enables task distribution via Nx Cloud
|
|
|
|
|
# Run this command as early as possible, before dependencies are installed
|
|
|
|
|
# Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
|
|
|
|
|
# Connect your workspace by running "nx connect" and uncomment this line to enable task distribution
|
|
|
|
|
# - run: npx nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="e2e-ci"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Cache node_modules
|
|
|
|
|
- uses: pnpm/action-setup@v4
|
|
|
|
|
- uses: actions/setup-node@v4
|
|
|
|
|
with:
|
|
|
|
|
node-version: 20
|
|
|
|
|
cache: 'npm'
|
|
|
|
|
|
|
|
|
|
- run: npm ci --legacy-peer-deps
|
|
|
|
|
node-version: 22
|
|
|
|
|
cache: 'pnpm'
|
|
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
|
- run: npx playwright install --with-deps
|
|
|
|
|
- uses: nrwl/nx-set-shas@v4
|
|
|
|
|
|
|
|
|
|
|