Skip to content

Commit

Permalink
Refactor installation workflow to use withstudiocms/automations
Browse files Browse the repository at this point in the history
  • Loading branch information
Adammatthiesen committed Dec 13, 2024
1 parent 5b41608 commit 225bce7
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 27 deletions.
18 changes: 0 additions & 18 deletions .github/actions/install/action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ci-pr-i18n-changeset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
token: ${{ secrets.STUDIOCMS_SERVICE_TOKEN }}

- name: Install Tools & Dependencies
uses: ./.github/actions/install
uses: withstudiocms/automations/.github/actions/install

- name: Create Translation Changesets
run: pnpm ci:translations:changeset
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-pr-lunaria-overview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
token: ${{ secrets.STUDIOCMS_SERVICE_TOKEN }}

- name: Install Tools & Dependencies
uses: ./.github/actions/install
uses: withstudiocms/automations/.github/actions/install

- name: Generate Lunaria Overview
uses: lunariajs/action@astro-docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-pr-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: Install Tools & Dependencies
uses: ./.github/actions/install
uses: withstudiocms/automations/.github/actions/install

- name: Publish packages
run: pnpm ci:snapshot
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
token: ${{ secrets.STUDIOCMS_SERVICE_TOKEN }}

- name: Install Tools & Dependencies
uses: ./.github/actions/install
uses: withstudiocms/automations/.github/actions/install

- name: Format code
run: pnpm run lint:fix
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: Install Tools & Dependencies
uses: ./.github/actions/install
uses: withstudiocms/automations/.github/actions/install

- name: Create Release Pull Request or Publish to npm
id: changesets
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
# token: ${{ secrets.STUDIOCMS_SERVICE_TOKEN }}

# - name: Install Tools & Dependencies
# uses: ./.github/actions/install
# uses: withstudiocms/automations/.github/actions/install

# - name: Build Lunaria Overview
# run: pnpm ci:lunaria:build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-report-lunaria.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
fetch-depth: 0

- name: Install Tools & Dependencies
uses: ./.github/actions/install

uses: withstudiocms/automations/.github/actions/install
- id: message
name: Format Discord message
run: pnpm ci:lunaria:report
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lunaria-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
token: ${{ secrets.STUDIOCMS_SERVICE_TOKEN }}

- name: Install Tools & Dependencies
uses: ./.github/actions/install
uses: withstudiocms/automations/.github/actions/install

- name: Build Lunaria Overview
run: pnpm ci:lunaria:build
Expand Down

0 comments on commit 225bce7

Please sign in to comment.