From 00269654f19b3f2f6c46d46fa2dbf9134e1fd949 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 14 Apr 2026 06:59:14 +0000 Subject: [PATCH] Fix CI: update npm-grunt.yml to use Node 20 and modern actions Agent-Logs-Url: https://github.com/shadowsocks/shadowsocks-org/sessions/72fefb45-1a60-4fea-8596-9c3bada96d88 Co-authored-by: madeye <627917+madeye@users.noreply.github.com> --- .github/workflows/npm-grunt.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/npm-grunt.yml b/.github/workflows/npm-grunt.yml index c9a3f05f..85d62762 100644 --- a/.github/workflows/npm-grunt.yml +++ b/.github/workflows/npm-grunt.yml @@ -8,19 +8,16 @@ jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [16] - steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: 'true' - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + - name: Use Node.js 20 + uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node-version }} + node-version: 20 + cache: yarn - name: Build run: |