diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2954956..232c7c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,10 +22,10 @@ jobs: name: Build & Test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: 🏗 Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 cache: npm @@ -40,13 +40,13 @@ jobs: run: npm run test:ci # Upload dist artifacts - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dist path: dist/ # Upload coverage artifacts - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: coverage path: coverage/lcov.info @@ -57,12 +57,12 @@ jobs: runs-on: ubuntu-latest steps: # Download coverage artifacts - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: coverage - name: 📈 Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} files: lcov.info @@ -82,13 +82,19 @@ jobs: url: https://dcpesses.github.io/vite-react-ts-gh/ steps: # Download dist artifacts - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: dist path: dist/ + - run: pwd + + - run: ls -l + + - run: ls -l dist + - name: 🚀 Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v3.9.3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: dist