From 816cf00a1e67534ce5698de8c50cc6eca39ef22c Mon Sep 17 00:00:00 2001 From: Ionut-Cristian Florescu Date: Mon, 6 Nov 2023 13:30:29 +0200 Subject: [PATCH] Update github workflow action versions --- .github/workflows/publish-and-deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-and-deploy.yml b/.github/workflows/publish-and-deploy.yml index 23b943f..8228b85 100644 --- a/.github/workflows/publish-and-deploy.yml +++ b/.github/workflows/publish-and-deploy.yml @@ -25,11 +25,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: '18.16.1' + node-version: '20' cache: yarn - name: Restore cache uses: actions/cache@v3 @@ -46,7 +46,7 @@ jobs: - name: Build run: GITHUB_PAGES=true yarn build - name: Upload pages artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v2 with: path: ./docs/out - name: Upload package artifact @@ -65,7 +65,7 @@ jobs: - uses: actions/download-artifact@v3 with: name: package - - uses: JS-DevTools/npm-publish@v1 + - uses: JS-DevTools/npm-publish@v2 with: token: ${{ secrets.NPM_TOKEN }} @@ -79,4 +79,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v2