This repository was archived by the owner on Apr 9, 2026. It is now read-only.
deps: lock file maintenance (#292) #289
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: Release | |
| on: | |
| push: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| env: | |
| CI: true | |
| jobs: | |
| release: | |
| name: Publish | |
| if: github.event_name == 'push' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| steps: | |
| - name: Checkout & Install | |
| uses: seek-oss/crackle/.github/actions/init@master | |
| with: | |
| token: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }} | |
| # Ensure npm 11.5.1 or later is installed | |
| - name: Install latest npm | |
| run: npm install -g npm@latest | |
| - name: Create Release PR / Publish to npm | |
| uses: changesets/action@v1 | |
| with: | |
| version: pnpm run version | |
| publish: pnpm run release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }} | |
| snapshot: | |
| name: Snapshot | |
| if: github.event_name == 'workflow_dispatch' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| steps: | |
| - name: Checkout & Install | |
| uses: seek-oss/crackle/.github/actions/init@master | |
| # Ensure npm 11.5.1 or later is installed | |
| - name: Install latest npm | |
| run: npm install -g npm@latest | |
| - name: Publish | |
| uses: seek-oss/changesets-snapshot@v0 | |
| with: | |
| pre-publish: pnpm prepare-publish | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }} |