Skip to content

update nx to remove warnings #3885

update nx to remove warnings

update nx to remove warnings #3885

Workflow file for this run

name: Non-master branch build
on:
push:
branches-ignore:
- "master"
tags-ignore:
- "*"
# Ensure that only the latest push to a given branch is run,
# and any previous builds on the branch are cancelled automatically
# (to save money on Github Actions execution time!)
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_and_test:
timeout-minutes: 10
runs-on: ubuntu-latest
env:
FULL_SHA: ${{ github.sha }}
steps:
# Checkout master (so we can use nx:affected)
- uses: actions/checkout@v4
with:
fetch-depth: 1
ref: master
# Checkout the current branch
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup Uesio CLI Symlink
shell: bash
run: |
# Symlink for Uesio CLI, which is created in build and then used in subsequent builds and tests
mkdir -p dist/cli
sudo ln -s $PWD/dist/cli/uesio /usr/local/bin/uesio
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20.14.0
cache: "npm"
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21.3
cache-dependency-path: apps/*/go.sum
- name: Install, lint, build, test
shell: bash
env:
UESIO_DEV: "true"
run: |
npm ci
npm run prettier-check
npm run affected:lint -- --base=origin/master --head=$GITHUB_SHA --parallel
npm run build-all
npm run affected:test -- --base=origin/master --head=$GITHUB_SHA --parallel