RATY-357 stuck Dependabot workflows #2154
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
| # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| common: | |
| uses: City-of-Helsinki/.github/.github/workflows/ci-pnpm-node.yml@main | |
| secrets: | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
| with: | |
| node-version: 24.x | |
| extra-commands: | | |
| pnpm update-runtime-env | |
| e2e: | |
| needs: common | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js 24.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24.x | |
| - name: Enable pnpm | |
| run: corepack enable | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile --ignore-scripts | |
| - name: Runtime envs | |
| run: pnpm update-runtime-env | |
| - name: Build application | |
| run: pnpm build | |
| - name: Install Playwright browsers | |
| run: pnpm test:e2e:install | |
| - name: Run E2E tests | |
| run: pnpm test:e2e |