chore(deps): bump markdown-it from 14.1.0 to 14.1.1 #23
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| run_install: false | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: './.nvmrc' | |
| registry-url: 'https://registry.npmjs.org' | |
| cache: 'pnpm' | |
| # - uses: google/wireit@setup-github-actions-caching/v2 | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm exec playwright install --with-deps chromium | |
| - name: Run CI checks | |
| env: | |
| ELEMENTS_PAGES_BASE_URL: ${{vars.ELEMENTS_PAGES_BASE_URL}} | |
| ELEMENTS_REGISTRY_URL: ${{vars.ELEMENTS_REGISTRY_URL}} | |
| ELEMENTS_REPO_BASE_URL: ${{vars.ELEMENTS_REPO_BASE_URL}} | |
| run: PAGES_BASE_URL="/elements/" pnpm run ci && PAGES_BASE_URL="/elements/" node ./projects/internals/ci/cache-validate.js ci | |
| - name: Upload build artifacts | |
| if: github.event_name == 'push' | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: build-artifacts | |
| retention-days: 1 | |
| path: | | |
| projects/core/dist | |
| projects/core/package.json | |
| projects/forms/dist | |
| projects/forms/package.json | |
| projects/styles/dist | |
| projects/styles/package.json | |
| projects/themes/dist | |
| projects/themes/package.json | |
| projects/lint/dist | |
| projects/lint/package.json | |
| projects/cli/dist | |
| projects/cli/package.json | |
| projects/code/dist | |
| projects/code/package.json | |
| projects/create/dist | |
| projects/create/package.json | |
| projects/markdown/dist | |
| projects/markdown/package.json | |
| projects/media/dist | |
| projects/media/package.json | |
| projects/monaco/dist | |
| projects/monaco/package.json | |
| projects/pages/dist | |
| - name: Upload pages artifact | |
| if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' | |
| uses: actions/upload-pages-artifact@v4 | |
| with: | |
| path: projects/pages/dist | |
| lighthouse: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| run_install: false | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: './.nvmrc' | |
| registry-url: 'https://registry.npmjs.org' | |
| cache: 'pnpm' | |
| # - uses: google/wireit@setup-github-actions-caching/v2 | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm exec playwright install --with-deps chromium | |
| - name: Run Lighthouse tests | |
| run: WIREIT_FAILURES=kill pnpm run lighthouse && node ./projects/internals/ci/cache-validate.js lighthouse && node ./projects/internals/ci/metrics.lighthouse.js | |
| release: | |
| needs: ci | |
| if: github.event_name == 'push' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| deployments: write | |
| pull-requests: write | |
| contents: write | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| run_install: false | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: './.nvmrc' | |
| registry-url: 'https://registry.npmjs.org' | |
| cache: 'pnpm' | |
| - run: pnpm install --frozen-lockfile | |
| - name: Download build artifacts | |
| uses: actions/download-artifact@v8 | |
| with: | |
| name: build-artifacts | |
| - name: Release | |
| env: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | |
| run: WIREIT_PARALLEL=1 WIREIT_LOGGER=metrics pnpm run release | |
| deploy-pages: | |
| needs: ci | |
| if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pages: write | |
| id-token: write | |
| environment: | |
| name: github-pages | |
| url: ${{steps.deployment.outputs.page_url}} | |
| concurrency: | |
| group: pages | |
| cancel-in-progress: false | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v5 |