From 8cee91543af5ef75645aad83bd8b20ee89beea48 Mon Sep 17 00:00:00 2001 From: Flynn Date: Tue, 2 Jan 2024 09:05:28 +0900 Subject: [PATCH] =?UTF-8?q?setting:=20github=20actions=20=EC=8A=A4?= =?UTF-8?q?=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test-on-push.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-on-push.yml b/.github/workflows/test-on-push.yml index 96e285e..e6499dd 100644 --- a/.github/workflows/test-on-push.yml +++ b/.github/workflows/test-on-push.yml @@ -6,14 +6,18 @@ jobs: test: name: Run test runs-on: ubuntu-latest + strategy: + matrix: + node: [18.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + - name: Use Node.js ${{ matrix.node }} + uses: actions/setup-node@v4 with: - node-version: '18' + node: ${{ matrix.node}} + cache: 'npm' - name: Install dependencies run: npm install --immutable