diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index ec5b910..6a1fe94 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -9,17 +9,17 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} # If your repository depends on submodule, please see: https://github.com/actions/checkout submodules: recursive - - name: Use Node.js 16.x - uses: actions/setup-node@v2 + - name: Use Node.js 20 + uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '20' - name: Cache NPM dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.OS }}-npm-cache @@ -30,7 +30,7 @@ jobs: - name: Build run: npm run build - name: Upload Pages artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: path: ./public deploy: @@ -45,4 +45,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 \ No newline at end of file + uses: actions/deploy-pages@v4 \ No newline at end of file