[Snyk] Upgrade sass from 1.60.0 to 1.93.2 #279
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: Microsite | |
| on: | |
| # NOTE: If you change these you must update verify_microsite-noop.yml as well | |
| pull_request: | |
| paths: | |
| - '.github/workflows/verify_microsite-next.yml' | |
| - '.github/workflows/verify_microsite.yml' | |
| - 'microsite/**' | |
| - 'mkdocs.yml' | |
| - 'docs/**' | |
| jobs: | |
| build-microsite: | |
| runs-on: ubuntu-latest | |
| env: | |
| CI: true | |
| NODE_OPTIONS: --max-old-space-size=8192 | |
| DOCUSAURUS_SSR_CONCURRENCY: 5 | |
| name: Microsite | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: use node.js 18.x | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18.x | |
| # Skip caching of microsite dependencies, it keeps the global cache size | |
| # smaller, which make Windows builds a lot faster for the rest of the project. | |
| - name: top-level install | |
| run: yarn install --immutable | |
| - name: yarn install | |
| run: yarn install --immutable | |
| working-directory: microsite | |
| - name: build API reference | |
| run: yarn build:api-docs | |
| - name: Install MkDocs dependencies | |
| run: pip3 install mkdocs mkdocs-techdocs-core | |
| - name: Build MkDocs for TechDocs | |
| run: mkdocs build --strict | |
| - name: verify yarn dependency duplicates | |
| run: node scripts/verify-lockfile-duplicates.js | |
| - name: prettier | |
| run: yarn prettier:check | |
| working-directory: microsite | |
| - name: build microsite | |
| run: yarn build | |
| working-directory: microsite |