cdroulers is building stuff! #51
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 and test app. | |
| run-name: ${{ github.actor }} is building stuff! | |
| on: [push] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
| node-version: [22.x] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: "npm" | |
| cache-dependency-path: "./package-lock.json" | |
| - run: npm install | |
| - run: npm run build | |
| - run: npm run lint | |
| - run: npm run test:ci | |
| - name: Run TestCafe Tests | |
| uses: DevExpress/testcafe-action@latest | |
| with: | |
| skip-install: true | |
| args: "--config-file ./.testcaferc.withapp.cjs" |