diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7b6577..c6e4b2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,8 @@ on: branches: - main pull_request: + branches: + - '**' permissions: actions: read @@ -14,15 +16,15 @@ jobs: main: runs-on: ubuntu-latest steps: - # Cache node_modules + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-node@v4 with: node-version: 20 + cache: yarn # Enables caching for Yarn dependencies - run: yarn install --frozen-lockfile - - uses: nrwl/nx-set-shas@v4 - # Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud - # - run: npx nx-cloud record -- echo Hello World - # Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected - - run: npx nx affected -t lint test build + - run: npx nx run-many --all -t lint test build