From 1b4ecc360a72ab510d6257588177f462faac03ef Mon Sep 17 00:00:00 2001 From: wewoor Date: Fri, 12 May 2023 11:11:30 +0800 Subject: [PATCH] ci: use node 18.x --- .github/workflows/nodejs.yml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 6fb5787..ac37576 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -12,17 +12,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x, 18.x] + node-version: [18.x] steps: - name: checkout uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - - name: cache yarn.lock uses: actions/cache@v2 with: @@ -54,12 +49,7 @@ jobs: needs: [setup] steps: - uses: actions/checkout@v2 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - + - name: Restore cache from yarn.lock uses: actions/cache@v2 with: @@ -82,11 +72,6 @@ jobs: needs: [setup] steps: - uses: actions/checkout@v2 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - name: Restore cache from yarn.lock uses: actions/cache@v2