Clearing Old code related to Catalyst (#8159) #130
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: Node.js CI | |
| # Triggering workflow on all push | |
| on: [push] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: Node.js CI | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20.19.2] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node- | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| # We can skip webpack since we will build it for testing-ubuntu | |
| - run: CYPRESS_INSTALL_BINARY=0 npm ci | |
| env: | |
| SKIP_WEBPACK: true | |
| - run: npm run pre-build | |
| - run: npm run test-ubuntu |