Bump serialize-javascript from 6.0.2 to 7.0.5 (via audit fix) #8
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: Build site | |
| on: | |
| pull_request: | |
| workflow_call: | |
| inputs: | |
| site-url: | |
| description: Base url for the hosting site | |
| type: string | |
| required: false | |
| outputs: | |
| artifact-id: | |
| description: ID of the uploaded artifact | |
| value: ${{jobs.build.outputs.artifact-id}} | |
| env: | |
| SITE_URL: ${{ inputs.site-url || 'https://docs.staging.cryptomator.org'}} | |
| jobs: | |
| build: | |
| name: Build Site | |
| runs-on: ubuntu-latest | |
| outputs: | |
| artifact-id: ${{steps.upload.outputs.artifact-id}} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Pages | |
| uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0 | |
| - name: Verify lockfile has no non-registry sources | |
| run: scripts/check-lockfile.sh | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@8912a9102ac27614460f54aedde9e1e7f9aec20d # v6.0.5 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: '20' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build | |
| run: pnpm run build | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| id: upload | |
| with: | |
| name: site | |
| path: './build' |