From e09831ba3e7a7edf408d0b5a57999ae1bdab1170 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sun, 21 Apr 2024 01:17:35 +0800 Subject: [PATCH] ci: specify the node version (#1694) --- .github/workflows/ci.yml | 2 ++ .github/workflows/style-lint.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ea6b4f..078e4f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,8 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 + with: + node-version: latest - name: Build Assets run: npm i && npm run build diff --git a/.github/workflows/style-lint.yml b/.github/workflows/style-lint.yml index e095978..89eeaef 100644 --- a/.github/workflows/style-lint.yml +++ b/.github/workflows/style-lint.yml @@ -17,5 +17,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 + with: + node-version: latest - run: npm i - run: npm test