Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lostfields committed Nov 5, 2024
2 parents eba97f0 + 4a05040 commit 951b215
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
12 changes: 10 additions & 2 deletions npm-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ inputs:
description: Set a custom tag, useful when generating tag based on f.ex FROM image in a docker image. Setting this tag will invalidate any other settings set!
required: false
NODE_VERSION:
description: node version, defaults to 14
description: node version, defaults to 18
required: false
default: '14'
default: '18'
PRUNE_PRODUCTION:
description: prune for production
required: false
Expand Down Expand Up @@ -140,6 +140,14 @@ runs:
run: |
npm version ${{ steps.semver.outputs.new_tag || steps.custom.outputs.new_tag }} --no-git-tag-version --allow-same-version --ignore-scripts
- shell: bash
name: version workspaces
run: |
workspaces=$(npm pkg get workspaces)
if [[ $workspaces != "{}" ]]; then
npm pkg set version=$(npm pkg get version) --workspaces --json
fi
- shell: bash
name: install
run: |
Expand Down
12 changes: 10 additions & 2 deletions yarn-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ inputs:
description: Set a custom tag, useful when generating tag based on f.ex FROM image in a docker image. Setting this tag will invalidate any other settings set!
required: false
NODE_VERSION:
description: node version, defaults to 14
description: node version, defaults to 18
required: false
default: '14'
default: '18'
PRUNE_PRODUCTION:
description: prune for production
required: false
Expand Down Expand Up @@ -135,6 +135,14 @@ runs:
run: |
yarn version --new-version ${{ steps.semver.outputs.new_tag || steps.custom.outputs.new_tag }} --no-git-tag-version --no-commit-hooks
- shell: bash
name: version workspaces
run: |
workspaces=$(npm pkg get workspaces)
if [[ $workspaces != "{}" ]]; then
npm pkg set version=$(npm pkg get version) --workspaces --json
fi
- shell: bash
name: install
run: |
Expand Down

0 comments on commit 951b215

Please sign in to comment.