Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
feat: use nx devkit (#33)
Browse files Browse the repository at this point in the history
this is the start of a large refactor to use nx devkit and code as part of the bundled action
as a first step it makes it possible to run nx-affected-matrix without node_modules
  • Loading branch information
ronnetzer authored Mar 6, 2022
1 parent e413ef6 commit 93c39e7
Show file tree
Hide file tree
Showing 40 changed files with 1,818 additions and 2,194 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: e-square-io/.github/.github/actions/npm-ci@main

- name: Calculate Affected Projects
uses: e-square-io/nx-affected-matrix@v2.1
uses: e-square-io/nx-affected-matrix@v2
id: affected
with:
targets: 'test,build'
Expand All @@ -49,7 +49,7 @@ jobs:
dry-run: true

- name: Execute target
uses: e-square-io/nx-distributed-task@v2.1
uses: e-square-io/nx-distributed-task@v2
id: execute
with:
target: ${{ matrix.target }}
Expand All @@ -73,8 +73,6 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: e-square-io/.github/.github/actions/npm-ci@main

- name: Download artifacts
uses: actions/download-artifact@v2
with:
Expand Down
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ jobs:
hasChanges: ${{ steps.affected.outputs.hasChanges }}
matrix: ${{ steps.affected.outputs.matrix }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0 # important to have history for affected calculation

# install node modules, cache etc

- name: Calculate affected projects
uses: e-square-io/nx-affected-matrix@v2
id: affected
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion __mocks__/which.ts

This file was deleted.

Loading

0 comments on commit 93c39e7

Please sign in to comment.