Update pnpm/action-setup digest to 0ebf471 #1793
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: Dawn | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - 'renovate/*' | |
| paths: | |
| - 'packages/dawn/**' | |
| - '.github/workflows/dawn.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/')) | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 | |
| - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6 | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| cache-dependency-path: pnpm-lock.yaml | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm test:ci --theme dawn | |
| all-tests-pass: | |
| name: All tests pass | |
| if: always() | |
| needs: [test] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Verify all required jobs succeeded | |
| if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') | |
| run: exit 1 | |
| deploy: | |
| name: Deploy | |
| runs-on: ubuntu-latest | |
| needs: test | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 | |
| - name: Deploy theme | |
| uses: TryGhost/action-deploy-theme@1a25f014c92aac9240db4823faaf2ab942d36e78 # v2 | |
| with: | |
| api-url: ${{ secrets.DAWN_GHOST_ADMIN_API_URL }} | |
| api-key: ${{ secrets.DAWN_GHOST_ADMIN_API_KEY }} | |
| working-directory: packages/dawn | |
| subtree: | |
| name: Subtree | |
| runs-on: ubuntu-latest | |
| needs: test | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: nxtlvlsoftware/git-subtree-action@3d555981a570a2275a91c07b04b38d5e90d48c05 # 1.1 | |
| with: | |
| repo: 'TryGhost/Dawn' | |
| path: 'packages/dawn' | |
| deploy_key: ${{secrets.DAWN_GITHUB_DEPLOY_KEY}} | |
| force: true |