Update dependency reveal.js to v6.0.1 (#536) #625
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: slides | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout 🛎 | |
| uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| # https://github.com/cypress-io/github-action | |
| - name: Test slides 🎞 | |
| uses: cypress-io/github-action@v6 | |
| with: | |
| config-file: 'cypress.slides-config.js' | |
| start: 'npm run slides' | |
| wait-on: 'http://localhost:3100' | |
| # build and deploy new version of the slides | |
| - name: Build slides 🏗 | |
| run: npm run slides:build -- --base /cypress-workshop-basics/ | |
| - name: Show the built folder 📋 | |
| run: ls -la dist | |
| # if the tests passed, publish the application | |
| # https://github.com/peaceiris/actions-gh-pages | |
| - name: Publish slides 🌐 | |
| if: github.ref == 'refs/heads/main' | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./dist |