apply loadable resolution for ssr builds so that consistent module (C… #734
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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18.x | |
| cache: 'npm' | |
| - name: Install npm@8 | |
| run: npm i -g npm@8 | |
| - name: Install | |
| run: npm ci --prefer-offline | |
| - name: Build | |
| run: npm run build | |
| - name: Run addon tests | |
| run: npm run test:addons |