diff --git a/.github/workflows/audit/action.yml b/.github/workflows/audit/action.yml index 728a02b9..fe71067d 100644 --- a/.github/workflows/audit/action.yml +++ b/.github/workflows/audit/action.yml @@ -1,12 +1,8 @@ name: "Audit" description: "Audit information" -inputs: - project: - description: "The project directory" - required: true runs: using: "composite" steps: - - name: Audit project cd ${{ inputs.project }} - run: cd ${{ inputs.project }} && pnpm install && pnpm run audit --prod + - name: Audit project cd ${{ matrix.project }} + run: cd ${{ matrix.project }} && pnpm install && pnpm run audit --prod shell: bash diff --git a/.github/workflows/github-ci.yml b/.github/workflows/github-ci.yml index b1845828..e7ae0cef 100644 --- a/.github/workflows/github-ci.yml +++ b/.github/workflows/github-ci.yml @@ -34,8 +34,6 @@ jobs: cache: "pnpm" - name: Run lint uses: ./.github/workflows/lint - with: - project: ${{ matrix.project }} audit: runs-on: ubuntu-22.04 @@ -60,8 +58,6 @@ jobs: cache: "pnpm" - name: Run audit uses: ./.github/workflows/audit - with: - project: ${{ matrix.project }} build: runs-on: ubuntu-22.04 diff --git a/.github/workflows/lint/action.yml b/.github/workflows/lint/action.yml index c218c155..09bf24d2 100644 --- a/.github/workflows/lint/action.yml +++ b/.github/workflows/lint/action.yml @@ -1,12 +1,8 @@ name: "Lint" description: "Runs a lint check on the innoverse next app" -inputs: - project: - description: "The project directory" - required: true runs: using: "composite" steps: - - name: Install node in ${{ inputs.project }} - run: cd ${{ inputs.project }} && pnpm install && pnpm run lint + - name: Install node in ${{ matrix.project }} + run: cd ${{ matrix.project }} && pnpm install && pnpm run lint shell: bash