Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
guidoderooij authored Mar 21, 2024
1 parent 5873780 commit 353c137
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [main]

env:
NODE_VERSION: 16.x
NODE_VERSION: 18.x

jobs:
bump-version:
Expand All @@ -16,22 +16,22 @@ jobs:
tag-name: ${{ steps.lib-bump.outputs.newTag }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# This is a public_repo Github personal access token.
token: ${{ secrets.WORKFLOW_GITHUB_TOKEN }}

- name: Bump dev-app version
id: dev-bump
uses: phips28/gh-action-bump-version@v9.1.0
uses: phips28/gh-action-bump-version@v11.0.4
with:
tag-prefix: 'v'
skip-tag: true
commit-message: '[CI/CD]: bump dev-app to {{version}}'

- name: Bump lib version
id: lib-bump
uses: phips28/gh-action-bump-version@v9.1.0
uses: phips28/gh-action-bump-version@v11.0.4
with:
tag-prefix: 'v'
commit-message: '[CI/CD]: bump lib to {{version}}'
Expand All @@ -50,7 +50,7 @@ jobs:
ref: ${{ needs.bump-version.outputs.tag-name }}

- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ needs.bump-version.outputs.tag-name }}

Expand All @@ -61,12 +61,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ needs.bump-version.outputs.tag-name }}

- name: Use node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}

Expand Down

0 comments on commit 353c137

Please sign in to comment.