diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0124461..15a9910 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,11 +17,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' cache: 'npm' - name: Set Font Awesome token and dry run installation run: | @@ -33,11 +33,11 @@ jobs: - name: Create build run: npm run build - name: Setup Pages - uses: actions/configure-pages@v2 + uses: actions/configure-pages@v5 - name: Upload build - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: 'dist' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cb59c34..db9775e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,11 +6,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '20.x' cache: 'npm' - name: Set Font Awesome token and dry run installation run: | @@ -22,7 +22,7 @@ jobs: - name: Create test build run: npm run test-build - name: Cache test build - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: dist key: run-id-${{ github.run_id }} @@ -32,16 +32,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '20.x' cache: 'npm' - name: Install dependencies run: npm ci - name: Retrieve cached test build - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: dist key: run-id-${{ github.run_id }} @@ -53,16 +53,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '20.x' cache: 'npm' - name: Install dependencies run: npm ci - name: Retrieve cached test build - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: dist key: run-id-${{ github.run_id }}