Bump the npm_and_yarn group across 18 directories with 4 updates #9652
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: website | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| deployment: | |
| runs-on: ubuntu-latest | |
| if: | |
| github.event.pull_request.head.repo.full_name == github.repository || github.event_name == | |
| 'push' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| with: | |
| standalone: true | |
| cache: true | |
| - name: Install Node | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: 24 | |
| - name: Install packages | |
| run: pnpm install | |
| - uses: the-guild-org/shared-config/website-cf@f4eea983237a44bb0ca19c3348dacbfdfcdbec23 # main | |
| name: build and deploy website | |
| env: | |
| NEXT_BASE_PATH: ${{ github.ref == 'refs/heads/master' && '/graphql/codegen' || '' }} | |
| SITE_URL: | |
| ${{ github.ref == 'refs/heads/master' && 'https://the-guild.dev/graphql/codegen' || '' | |
| }} | |
| with: | |
| cloudflareApiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| cloudflareAccountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
| githubToken: ${{ secrets.GITHUB_TOKEN }} | |
| projectName: graphql-code-generator | |
| prId: ${{ github.event.pull_request.number }} | |
| websiteDirectory: ./ | |
| buildScript: pnpm build && cd website && pnpm build | |
| artifactDir: website/out |