From 5896bd50d7cae54289262c6f50992ccc9d31a80a Mon Sep 17 00:00:00 2001 From: issy Date: Mon, 15 Dec 2025 19:07:46 +0000 Subject: [PATCH] Use package.json for github actions node version --- .github/workflows/pull_request.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 354073838..ed0dbd75f 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -19,9 +19,9 @@ jobs: - uses: actions/checkout@v6 with: persist-credentials: false - - uses: actions/setup-node@master + - uses: actions/setup-node@v6 with: - node-version: 16.x + node-version-file: web/package.json - run: npm install working-directory: ./web - name: Lint @@ -35,9 +35,9 @@ jobs: - uses: actions/checkout@v6 with: persist-credentials: false - - uses: actions/setup-node@master + - uses: actions/setup-node@v6 with: - node-version: 20.x + node-version-file: web/package.json - run: npm install working-directory: ./web - name: Build web @@ -78,9 +78,9 @@ jobs: uses: actions/checkout@v6 with: persist-credentials: false - - uses: actions/setup-node@master + - uses: actions/setup-node@v6 with: - node-version: 20.x + node-version-file: web/package.json - name: Install devcontainer cli run: npm install --global @devcontainers/cli - name: Build devcontainer