remove overrides block that was ignored by mnmp and regenerate pnpm-l… #2771
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 admin-console | |
| on: | |
| pull_request: | |
| branches: | |
| - "**" | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| admin-console: | |
| if: >- | |
| (github.event.pull_request.head.repo.owner.login == 'guardian' || | |
| github.event_name == 'push') | |
| # Required by actions-assume-aws-role | |
| permissions: | |
| id-token: write | |
| contents: read | |
| name: admin-console | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v7.0.0 | |
| - run: npm install --global corepack@0.31.0 | |
| shell: bash | |
| - run: corepack enable | |
| shell: bash | |
| - name: Use Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'pnpm' | |
| - name: Test + build | |
| run: | | |
| pnpm install | |
| pnpm lint | |
| pnpm test | |
| pnpm build | |
| - name: cdk | |
| working-directory: ./cdk | |
| run: | | |
| pnpm install | |
| pnpm lint | |
| pnpm test | |
| pnpm synth | |
| - name: Configure AWS credentials | |
| uses: aws-actions/configure-aws-credentials@6.2.2 | |
| with: | |
| role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} | |
| aws-region: eu-west-1 | |
| - name: Setup Java 11 | |
| uses: actions/setup-java@v5.5.0 | |
| with: | |
| distribution: 'corretto' | |
| java-version: '11' | |
| cache: 'sbt' | |
| - name: Setup SBT | |
| uses: sbt/setup-sbt@v1.5.0 | |
| - name: riffraff | |
| run: | | |
| export LAST_TEAMCITY_BUILD=2000 | |
| export GITHUB_RUN_NUMBER=$(( $GITHUB_RUN_NUMBER + $LAST_TEAMCITY_BUILD )) | |
| sbt clean riffRaffUpload |