Skip to content

Commit 355312c

Browse files
Merge pull request #823 from jg-wright/node-version
ci: version of node to install
2 parents f0254ac + 97c93ee commit 355312c

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/actions/install/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Install
22

33
description: Installs node and dependencies
44

5+
inputs:
6+
node-version:
7+
description: 'Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0.'
8+
required: true
9+
510
runs:
611
using: composite
712
steps:

.github/actions/test/action.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ name: Test
22

33
description: Build & Test
44

5-
inputs:
6-
node-version:
7-
description: 'Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0.'
8-
required: true
9-
105
runs:
116
using: composite
127
steps:

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v6
1616
- uses: ./.github/actions/install
17-
- uses: ./.github/actions/test
1817
with:
1918
node-version: ${{ matrix.node-version }}
19+
- uses: ./.github/actions/test
2020
- id: nvm
2121
run: echo "version=$(cat .nvmrc)" >> $GITHUB_OUTPUT
2222
- uses: actions/upload-artifact@v7
@@ -64,7 +64,7 @@ jobs:
6464
with:
6565
cache: yarn
6666
node-version-file: .nvmrc
67-
registry-url: 'https://registry.npmjs.org'
67+
registry-url: "https://registry.npmjs.org"
6868
- run: yarn --immutable
6969
- uses: actions/download-artifact@v8
7070
with:

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v6
2020
- uses: ./.github/actions/install
21-
- uses: ./.github/actions/test
2221
with:
2322
node-version: ${{ matrix.node-version }}
23+
- uses: ./.github/actions/test

0 commit comments

Comments
 (0)