Skip to content

Commit

Permalink
chore(workflows): remove branch protection from setup-pnpm action calls
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverschuerch committed May 1, 2024
1 parent b08d87a commit 03a4790
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
name: Build Demo App
on:
pull_request:
types: [ opened, synchronize, edited, reopened ]
types: [opened, synchronize, edited, reopened]
paths:
- 'packages/intranet-header-workspace/**'
- 'packages/demo/**'
Expand All @@ -31,7 +31,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup
uses: swisspost/design-system/.github/actions/setup-pnpm@main
uses: swisspost/design-system/.github/actions/setup-pnpm

- name: Bootstrap & Build Design System
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup
uses: swisspost/design-system/.github/actions/setup-pnpm@main
uses: swisspost/design-system/.github/actions/setup-pnpm

- name: Install documentation & dependencies
run: pnpm --filter design-system-documentation... install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup
uses: swisspost/design-system/.github/actions/setup-pnpm@main
uses: swisspost/design-system/.github/actions/setup-pnpm

- name: Download build artifacts
uses: swisspost/design-system/.github/actions/artifact-download@main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup
uses: swisspost/design-system/.github/actions/setup-pnpm@main
uses: swisspost/design-system/.github/actions/setup-pnpm

- name: Download build artifacts
uses: ./.github/actions/artifact-download
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fetch-depth: 0

- name: Setup
uses: swisspost/design-system/.github/actions/setup-pnpm@main
uses: swisspost/design-system/.github/actions/setup-pnpm
with:
use_cache: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fetch-icons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fetch-depth: 0

- name: Setup
uses: swisspost/design-system/.github/actions/setup-pnpm@main
uses: swisspost/design-system/.github/actions/setup-pnpm

- name: Get Date
id: current-date
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fetch-depth: 0

- name: Setup
uses: swisspost/design-system/.github/actions/setup-pnpm@main
uses: swisspost/design-system/.github/actions/setup-pnpm

- name: Install dependencies of changed packages
run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- name: Setup
if: steps.check.outputs.changed == 'true'
uses: swisspost/design-system/.github/actions/setup-pnpm@main
uses: swisspost/design-system/.github/actions/setup-pnpm

# Install changesets locally
- name: Install demo app & dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- name: Setup
if: steps.check.outputs.changed == 'true'
uses: swisspost/design-system/.github/actions/setup-pnpm@main
uses: swisspost/design-system/.github/actions/setup-pnpm

- name: Install documentation & dependencies
if: steps.check.outputs.changed == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fetch-depth: 0

- name: Setup
uses: swisspost/design-system/.github/actions/setup-pnpm@main
uses: swisspost/design-system/.github/actions/setup-pnpm

# Install dependencies and build packages
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshot-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

# Use cache is set to false because the cypress binary could not be cached correctly
- name: Setup
uses: swisspost/design-system/.github/actions/setup-pnpm@main
uses: swisspost/design-system/.github/actions/setup-pnpm
with:
use_cache: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fetch-depth: 0

- name: Setup
uses: swisspost/design-system/.github/actions/setup-pnpm@main
uses: swisspost/design-system/.github/actions/setup-pnpm

# Install packages changed since main, as well as their dependants and dependencies
- name: Install dependencies
Expand Down

0 comments on commit 03a4790

Please sign in to comment.