Skip to content

Commit

Permalink
Chore(ci): Enable Corepack in pipeline runs
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Jun 18, 2024
1 parent 8eba400 commit dfebe40
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,17 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Enable Corepack
run: corepack enable

- name: Fetch Git history
run: git fetch --no-tags --depth=50 origin main

- name: Install dependencies
uses: bahmutov/[email protected]
with:
useRollingCache: true
install-command: yarn --immutable

- name: Build packages
run: yarn build
4 changes: 4 additions & 0 deletions .github/workflows/commitlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ jobs:
with:
node-version-file: '.nvmrc'

- name: Enable Corepack
run: corepack enable

- name: Fetch Git history
run: git fetch --no-tags --depth=50 origin main

- name: Install dependencies
uses: bahmutov/[email protected]
with:
useRollingCache: true
install-command: yarn --immutable

- name: Run Commitlint
run: npx commitlint --color --verbose --from $(git merge-base origin/main HEAD)
4 changes: 4 additions & 0 deletions .github/workflows/component-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ jobs:
with:
node-version-file: '.nvmrc'

- name: Enable Corepack
run: corepack enable

- name: Install dependencies
uses: bahmutov/[email protected]
with:
useRollingCache: true
install-command: yarn --immutable

- name: Analyze
run: npx omlet analyze
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ jobs:
with:
node-version-file: '.nvmrc'

- name: Enable Corepack
run: corepack enable

- name: Install dependencies
uses: bahmutov/[email protected]
with:
useRollingCache: true
install-command: yarn --immutable

- name: Build
run: yarn build
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-web-twig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,14 @@ jobs:
with:
node-version-file: '.nvmrc'

- name: Enable Corepack
run: corepack enable

- name: Install dependencies
uses: bahmutov/[email protected]
with:
useRollingCache: true
install-command: yarn --immutable

- name: Build Icons
working-directory: ./packages/icons
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,17 @@ jobs:
with:
node-version-file: '.nvmrc'

- name: Enable Corepack
run: corepack enable

- name: Fetch Git history
run: git fetch --no-tags --depth=50 origin main

- name: Install dependencies
uses: bahmutov/[email protected]
with:
useRollingCache: true
install-command: yarn --immutable

- name: Build
run: yarn build
Expand Down

0 comments on commit dfebe40

Please sign in to comment.