Skip to content

Commit

Permalink
Merge branch 'main' into renovate/major-12-semantic-release-monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
prisis authored May 24, 2024
2 parents 1bf8796 + 0c74004 commit 4acdb42
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
filters: ".github/file-filters.yml"

test:
name: "Test (node-${{ matrix.node_version }}, ${{ matrix.os }})"
name: "Test semantic-release version ${{ matrix.semantic_release_version }} on (node-${{ matrix.node_version }}, ${{ matrix.os }})"
if: "needs.files-changed.outputs.packages == 'true'"
needs: "files-changed"
strategy:
Expand All @@ -60,10 +60,12 @@ jobs:
os:
- "ubuntu-latest"
node_version: ["18", "20", "21", "22"]
semantic_release_version: ["^20", "^21", "^22"]
# On the other platforms, we only test the lts node version
include:
- os: "macos-latest"
node_version: "20"
semantic_release_version: ["^22"]
fail-fast: false
runs-on: "${{ matrix.os }}"
env:
Expand Down Expand Up @@ -95,6 +97,11 @@ jobs:
with:
node-version: "${{ matrix.node_version }}"

- name: "Install semantic-release version ${{ matrix.semantic_release_version }}"
run: "pnpm i -D semantic-release@${{ matrix.semantic_release_version }}"
env:
SKIP_CHECK: "true"

# Temporary solution until Nx solve this https://github.com/nrwl/nx/issues/22259
- name: "Get changed files"
id: "files"
Expand Down

0 comments on commit 4acdb42

Please sign in to comment.