build(deps-dev): bump prettier from 3.4.2 to 3.5.3 (#874) #1523
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | |
name: Node.js CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: ['main', 'v-next'] | |
pull_request: | |
branches: ['main', 'v-next'] | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: nrwl/nx-set-shas@v3 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9.3.0 | |
run_install: false | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- run: pnpm i | |
- run: pnpm dupcheck | |
- run: pnpm format:check | |
- run: pnpm lint | |
- run: pnpm htmllint | |
- run: pnpm build | |
- run: pnpm test:coverage | |
- name: Configure Git | |
run: | | |
git config --global user.name "GitHub Actions" | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
- name: Build documentation | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' | |
run: pnpm nx run documentation:build:production | |
- name: Run update docs script | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' | |
env: | |
GH_PAGES_DYNAMIC_NGRX_TEST: ${{ secrets.GH_PAGES_DYNAMIC_NGRX_TEST }} | |
run: | | |
git remote set-url origin https://x-access-token:${GH_PAGES_DYNAMIC_NGRX_TEST}@github.com/${{ github.repository }}.git | |
.github/workflows/update_docs.sh |