Skip to content

Commit 11b9e30

Browse files
authored
ci: update workflow (#351)
1 parent 9240929 commit 11b9e30

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ on:
1313
release:
1414
types:
1515
- created
16+
workflow_dispatch:
1617

1718
env:
1819
php-version: '8.1'
1920
laravel-version: '8.*'
21+
node-version: 14
2022

2123
jobs:
2224
tests:
@@ -133,14 +135,19 @@ jobs:
133135
with:
134136
fetch-depth: 0 # Get all tags
135137

138+
- name: Use Node.js ${{ env.node-version }}
139+
uses: actions/setup-node@v2
140+
with:
141+
node-version: ${{ env.node-version }}
142+
136143
- name: Semantic Release
137144
uses: cycjimmy/semantic-release-action@v2
138145
id: semantic
139146
env:
140147
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
141148
GH_TOKEN_RELEASE: ${{ secrets.GH_TOKEN_RELEASE }}
142149
with:
143-
semantic_version: 17.3.7
150+
semantic_version: 18
144151
extra_plugins: |
145152
@semantic-release/changelog
146153
semantic-release-github-pullrequest

0 commit comments

Comments
 (0)