diff --git a/.github/actions/install/action.yml b/.github/actions/install/action.yml deleted file mode 100644 index 943a1e4..0000000 --- a/.github/actions/install/action.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Install Tools & Dependencies -description: Installs pnpm, Node.js & package dependencies - -runs: - using: composite - steps: - - name: Setup pnpm (corepack enabled) - uses: pnpm/action-setup@v3 - - - name: Setup Node.js 20.x - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 - with: - node-version-file: '.node-version' - cache: 'pnpm' - - - name: Install Dependencies - run: pnpm ci:install - shell: bash \ No newline at end of file diff --git a/.github/workflows/ci-pr-snapshot.yml b/.github/workflows/ci-pr-snapshot.yml index 7f2fbd7..8e10e90 100644 --- a/.github/workflows/ci-pr-snapshot.yml +++ b/.github/workflows/ci-pr-snapshot.yml @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - name: Install Tools & Dependencies - uses: ./.github/actions/install + uses: withstudiocms/automations/.github/actions/install@main - name: Publish packages run: pnpm ci:snapshot diff --git a/.github/workflows/ci-push-main.yml b/.github/workflows/ci-push-main.yml index 944e285..45b5253 100644 --- a/.github/workflows/ci-push-main.yml +++ b/.github/workflows/ci-push-main.yml @@ -29,7 +29,7 @@ jobs: token: ${{ secrets.STUDIOCMS_SERVICE_TOKEN }} - name: Install Tools & Dependencies - uses: ./.github/actions/install + uses: withstudiocms/automations/.github/actions/install@main - name: Format code run: pnpm run lint:fix @@ -51,7 +51,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - name: Install Tools & Dependencies - uses: ./.github/actions/install + uses: withstudiocms/automations/.github/actions/install@main - name: Create Release Pull Request or Publish to npm id: changesets