From 905a0eccf2a7697afdc625d4429bd4e9ee3be970 Mon Sep 17 00:00:00 2001 From: Shargon Date: Fri, 15 Mar 2024 04:45:11 -0700 Subject: [PATCH] Update workflow.yml --- .github/workflows/workflow.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index ded539e..c5aad74 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -7,6 +7,10 @@ on: jobs: Compile: + strategy: + matrix: + node-version: ['20.x'] + # needs: Test runs-on: ubuntu-latest @@ -14,6 +18,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - name: Dependences run: npm i - name: Prepublish