[Snyk] Security upgrade @backstage/plugin-techdocs from 0.0.0-use.local to 0.1.1 #713
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: E2E Techdocs | |
| on: | |
| pull_request: | |
| paths: | |
| - 'yarn.lock' | |
| - '.github/workflows/verify_e2e-techdocs.yml' | |
| - 'packages/techdocs-cli/**' | |
| - 'packages/techdocs-cli-embedded-app/**' | |
| - 'plugins/techdocs/**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [16.x, 18.x] | |
| env: | |
| CI: true | |
| NODE_OPTIONS: --max-old-space-size=4096 | |
| name: Techdocs | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.9' | |
| - name: install dependencies | |
| run: yarn install --immutable | |
| - name: generate types | |
| run: yarn tsc | |
| - name: build techdocs-cli | |
| working-directory: packages/techdocs-cli | |
| run: yarn build | |
| - name: Install mkdocs & techdocs-core | |
| run: python -m pip install mkdocs-techdocs-core==1.1.7 mkdocs==1.4.0 | |
| - name: techdocs-cli e2e test | |
| working-directory: packages/techdocs-cli | |
| run: yarn test:e2e:ci | |
| env: | |
| BACKSTAGE_TEST_DISABLE_DOCKER: 1 |