From aae1e4890c992997994ef3b87b65b22b09f00066 Mon Sep 17 00:00:00 2001 From: Yuyuutsu Date: Fri, 3 Nov 2023 11:44:38 +0000 Subject: [PATCH] update node version to use file instead Signed-off-by: Yuyuutsu --- .github/workflows/pull_request.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 30ea49f6e7..2ebe0c3aec 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -35,7 +35,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "18.14.0" + node-version-file: ".nvmrc" - name: Get yarn cache id: get-yarn-cache run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT @@ -61,7 +61,7 @@ jobs: cache: 'pipenv' - uses: actions/setup-node@v3 with: - node-version: "18.14.0" + node-version-file: ".nvmrc" - name: Write app version run: printf "${{ github.event.pull_request.head.sha }}" > .application-version - name: Install pipenv @@ -144,7 +144,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "18.14.0" + node-version-file: ".nvmrc" - run: | echo "PYTHON_VERSION=$(cat .python-version)" >> $GITHUB_ENV - uses: actions/setup-python@v4