From 74bb4f9c8f9eeafcadabb8d3d828ce1594f4cce9 Mon Sep 17 00:00:00 2001 From: flx-sta <50131232+flx-sta@users.noreply.github.com> Date: Tue, 10 Sep 2024 10:20:10 -0700 Subject: [PATCH] remove `node-version` input for now --- .github/workflows/run-test-template.yml | 5 +---- .github/workflows/tests.yml | 8 ++------ 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/run-test-template.yml b/.github/workflows/run-test-template.yml index 037e26c0171..f4831d6c393 100644 --- a/.github/workflows/run-test-template.yml +++ b/.github/workflows/run-test-template.yml @@ -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 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cb3507964f2..bc34f6dab6e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 }} \ No newline at end of file + project: ${{ matrix.project }} \ No newline at end of file