From 023090785f971f78a50a40881bd11afb8aee05bc Mon Sep 17 00:00:00 2001 From: Saiem Gilani Date: Mon, 31 Jul 2023 07:31:13 -0400 Subject: [PATCH] Update npm-publish.yml Signed-off-by: Saiem Gilani --- .github/workflows/npm-publish.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 85ffc9c..c42c481 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -15,21 +15,20 @@ jobs: matrix: node-version: [14, 16, 18, 20] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: 'npm' - run: npm install && npm ci - - run: npm test publish-npm: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 18 cache: 'npm'