idp-test-data-updated #159
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: Test with current IDP data | |
| on: | |
| repository_dispatch: | |
| types: [idp-test-data-updated] | |
| workflow_dispatch: | |
| jobs: | |
| test-current-idp-data: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: false | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Cache build output | |
| uses: actions/cache@v4 | |
| with: | |
| path: packages/ | |
| key: build-${{ github.sha }} | |
| - name: Build packages | |
| run: pnpm build | |
| - name: Get current IDP Data | |
| run: pnpm test:idp:get-data:head | |
| - name: IDP tests – edition | |
| run: pnpm test:idp:edition | |
| - name: IDP tests – translation | |
| run: pnpm test:idp:translation |