mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-19 06:42:20 +02:00
fix wrong use of env var in run-test-template.yml
This commit is contained in:
parent
6cc35e3128
commit
f1be1ccbef
5
.github/workflows/run-test-template.yml
vendored
5
.github/workflows/run-test-template.yml
vendored
@ -6,6 +6,9 @@ on:
|
|||||||
project:
|
project:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
node-version:
|
||||||
|
required: true
|
||||||
|
type: number
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@ -16,7 +19,7 @@ jobs:
|
|||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ inputs.node-version }}
|
||||||
- name: Install Node.js dependencies
|
- name: Install Node.js dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Run ${{ inputs.project }} tests
|
- name: Run ${{ inputs.project }} tests
|
||||||
|
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
@ -43,3 +43,4 @@ jobs:
|
|||||||
uses: ./run-test-template.yml # run job defined in run-test-template.yml
|
uses: ./run-test-template.yml # run job defined in run-test-template.yml
|
||||||
with:
|
with:
|
||||||
project: ${{ matrix.project }}
|
project: ${{ matrix.project }}
|
||||||
|
node-version: ${{ env.NODE_VERSION }}
|
Loading…
Reference in New Issue
Block a user