From e7e62451f4eea5024cf83c3c62f2f4013e5e4727 Mon Sep 17 00:00:00 2001 From: Daniel Batanov Date: Tue, 16 Apr 2024 17:45:44 +0300 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index eb4d9d56..3bd639b7 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [14.x, 16.x, 18.x, 20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -29,3 +29,11 @@ jobs: - run: npm ci - run: npm run build --if-present - run: npm test + + - name: Deploy with gh-pages + run: | + git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git + npm run deploy -- -u "github-actions-bot " + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +