Bump marko from 5.38.22 to 5.38.24 (#110) #97
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: Publish Pages | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| paths: [src/**, package.json, .github/workflows/publish_pages.yaml] | |
| jobs: | |
| Pages: | |
| runs-on: [ubuntu-24.04] | |
| permissions: | |
| contents: read # Required to checkout repository. | |
| id-token: write # Required to authenticate via OIDC. | |
| pages: write # Required to publish GitHub Pages. | |
| concurrency: | |
| group: github-pages | |
| cancel-in-progress: true | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.publish.outputs.page_url }} | |
| env: | |
| NODE_ENV: production | |
| BASE_URL: /${{ github.event.repository.name }}/ | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Node | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| cache: npm | |
| node-version: 23 | |
| - name: Cache Node modules | |
| id: cache | |
| uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 | |
| with: | |
| key: node-modules-${{ hashFiles('package-lock.json') }} | |
| path: node_modules | |
| - name: Install Node modules | |
| if: steps.cache.outputs.cache-hit != 'true' | |
| run: npm clean-install | |
| - name: Build GitHub Pages | |
| run: npm run build | |
| - name: Upload GitHub Pages | |
| uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0 | |
| with: | |
| path: dist/public/ | |
| retention-days: 1 | |
| - name: Publish GitHub Pages | |
| id: publish | |
| uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5 | |
| with: | |
| preview: true |