ci: expose generated lockfile for recovery #2
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: Lockfile refresh | |
| on: | |
| push: | |
| branches: [fix/237-runtime-dependencies] | |
| permissions: | |
| contents: read | |
| jobs: | |
| refresh: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 11.19.0 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .node-version | |
| - run: pnpm install --lockfile-only --no-frozen-lockfile | |
| - name: Print compressed lockfile for restricted runners | |
| run: | | |
| echo LOCKFILE_BEGIN | |
| gzip --stdout pnpm-lock.yaml | base64 --wrap=0 | |
| echo | |
| echo LOCKFILE_END | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: refreshed-lockfile | |
| path: pnpm-lock.yaml |