diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index eec302f7..2b584b73 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache node modules - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-node-modules with: @@ -25,19 +25,19 @@ jobs: ${{ runner.os }}-node- ${{ runner.os }}- - - name: Use Node.js 14.x - uses: actions/setup-node@v3 + - name: Use Node.js + uses: actions/setup-node@v4 with: - node-version: 14.x + node-version-file: 'package.json' - name: Npm install - run: npm install + run: npm ci - name: Npm build run: npm run aigis - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_branch: gh-pages