Testing install in CI deploy with reverting to Node 20 #52
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: ci | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags-ignore: | |
| - '*' | |
| pull_request: | |
| # branches: | |
| # - master | |
| concurrency: | |
| group: ${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Node ${{ matrix.node }} / ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| node: | |
| - '20' | |
| steps: | |
| - name: Install Setuptools for Python | |
| run: pip3 install setuptools | |
| - name: Check out Git repository | |
| uses: actions/checkout@v3 | |
| - name: Setup PNPM | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 8.8.0 | |
| - name: Setup Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: 'pnpm' | |
| - run: pnpm install --frozen-lockfile | |
| - name: Run Node.js tests | |
| run: pnpm test | |
| - name: Install Playwright Browsers | |
| run: pnpm exec playwright install --with-deps chromium firefox webkit | |
| - name: Run Playwright Browser Tests | |
| run: pnpm run test-browser-chromium |