Skip to content

chore(deps-dev): bump nx from 16.3.2 to 16.5.0 #612

chore(deps-dev): bump nx from 16.3.2 to 16.5.0

chore(deps-dev): bump nx from 16.3.2 to 16.5.0 #612

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: All Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
- uses: nrwl/nx-set-shas@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Install
run: pnpm install
- name: Format Code
run: pnpm format
- name: Test
run: pnpm nx affected --target=test
- name: Check for any generated code that should be committed
run: |
if [[ $(git status --porcelain) ]]; then
echo "Detected uncommitted changes after build. See status below:"
git status
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
git add .
git commit -m "chore: committing generated code"
git push
exit 1
fi