Kprince/test in ci 2 #26
Workflow file for this run
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: Continuous Integration | |
| on: [pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| node: [20, 22] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Chromium Library Dependencies | |
| run: | | |
| sh ./.github/workflows/chromium-lib-install.sh | |
| - name: Use Node.js ${{ matrix.node }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - uses: pnpm/action-setup@v4 | |
| name: Install pnpm | |
| with: | |
| version: latest | |
| - name: Installing project dependencies | |
| run: | | |
| yarn install --frozen-lockfile && yarn lerna bootstrap | |
| - name: Lint | |
| run: | | |
| yarn lint | |
| - name: Check Formatting | |
| run: | | |
| yarn run format:check | |
| - name: Test | |
| run: | | |
| yarn test | |
| - name: Build | |
| run: | | |
| yarn clean && yarn build |