diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 0369733d..1761e17d 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -7,11 +7,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Use Node.js 16 - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - name: Use Node.js 20 + uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '20.x' - name: Build application run: | npm ci @@ -19,9 +19,9 @@ jobs: env: CI: true - name: Deploy to GitHubPages - uses: JamesIves/github-pages-deploy-action@v4.4.3 + uses: JamesIves/github-pages-deploy-action@v4 if: github.ref == 'refs/heads/master' with: token: ${{ secrets.GITHUB_TOKEN }} - branch: gh-pages # The branch the action should deploy to. - folder: dist # The folder the action should deploy.: + branch: gh-pages + folder: dist