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