Skip to content

Commit

Permalink
chore: fix e2e in publish packages workflow [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
omermorad committed Jan 1, 2025
1 parent 0a536ac commit 562a960
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ on:
- 'beta'
required: true
default: 'dev'
release_branch:
description: 'Release Branch'
type: choice
options:
- 'next'
- 'master'
required: true
default: 'next'
strategy:
description: 'Release Strategy'
type: choice
Expand All @@ -44,7 +52,7 @@ jobs:
strategy:
matrix:
e2e-project: ['jest/nestjs', 'sinon/nestjs', 'vitest/nestjs', 'jest/inversify', 'sinon/inversify', 'vitest/inversify']
node-version: [16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x, 22.x]
exclude:
- e2e-project: 'vitest/inversify'
node-version: '16.x'
Expand All @@ -54,7 +62,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.target_branch }}
ref: ${{ inputs.release_branch }}

- name: Remove Vitest If Needed
if: ${{ matrix.node-version == '16.x' }}
Expand Down Expand Up @@ -114,7 +122,7 @@ jobs:
run: |
lerna version --yes \
--no-changelog \
--allow-branch ${{ inputs.target_branch }} \
--allow-branch ${{ inputs.release_branch }} \
--no-git-tag-version \
--no-push \
--force-publish \
Expand Down

0 comments on commit 562a960

Please sign in to comment.