Skip to content

Commit dbbf7d2

Browse files
committed
add setup nodejs in workflow
1 parent 45ef13e commit dbbf7d2

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/release-without-versioning.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,7 @@ jobs:
2424
release:
2525
name: Release without versioning
2626

27-
strategy:
28-
matrix:
29-
node-version: [18]
30-
os: [ubuntu-latest]
31-
32-
runs-on: ${{ matrix.os }}
27+
runs-on: ubuntu-latest
3328

3429
if: ${{ github.event_name != 'workflow_dispatch' }}
3530

@@ -46,7 +41,7 @@ jobs:
4641
- name: Setup Node.js
4742
uses: actions/setup-node@v3
4843
with:
49-
node-version: ${{ matrix.node-version }}
44+
node-version: 18
5045

5146
- name: Install pnpm
5247
uses: pnpm/action-setup@v2.2.2

.github/workflows/release.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ jobs:
5656
# related to issue, https://github.com/changesets/action/issues/201
5757
fetch-depth: 0
5858

59+
- name: Setup Node.js
60+
uses: actions/setup-node@v3
61+
with:
62+
node-version: 18
63+
5964
- name: Install pnpm
6065
uses: pnpm/action-setup@v2.2.2
6166
id: pnpm-install

0 commit comments

Comments
 (0)