remove node-version input for now

This commit is contained in:
flx-sta 2024-09-10 10:20:10 -07:00
parent d3268ce72c
commit 74bb4f9c8f
2 changed files with 3 additions and 10 deletions

View File

@ -6,9 +6,6 @@ on:
project:
required: true
type: string
node-version:
required: true
type: string
jobs:
test:
@ -19,7 +16,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
node-version: 20
- name: Install Node.js dependencies
run: npm ci
- name: Run ${{ inputs.project }} tests

View File

@ -1,8 +1,5 @@
name: Tests
env:
NODE_VERSION: 20
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
@ -27,7 +24,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
node-version: 20
- name: Install Node.js dependencies
run: npm ci
- name: Run Pre-test
@ -42,5 +39,4 @@ jobs:
project: [misc, abilities, items, moves, battle]
uses: ./.github/workflows/run-test-template.yml
with:
project: ${{ matrix.project }}
node-version: ${{ env.NODE_VERSION }}
project: ${{ matrix.project }}