Skip to content

feat: support visionOS #44

feat: support visionOS

feat: support visionOS #44

Workflow file for this run

name: Lint and Build (PR)
env:
NX_BRANCH: ${{ github.event.number || github.ref_name }}
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
lint:
name: Lint affected projects
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: lts/*
cache: 'yarn'
- uses: nrwl/nx-set-shas@v2
with:
main-branch-name: 'master'
- name: yarn install
run: yarn --immutable
- name: Lint affected
run: yarn nx affected:lint
build:
name: Build affected projects
needs: lint
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: lts/*
cache: 'yarn'
- uses: nrwl/nx-set-shas@v2
with:
main-branch-name: 'master'
- name: yarn install
run: yarn --immutable
- name: Build.all affected
run: yarn nx affected --target=build.all