fix: resume support for CJS via require(esm) #967
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
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| name: Lint | |
| steps: | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: latest | |
| - name: setup repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: setup node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22.14.0' | |
| - run: pnpm install | |
| - run: pnpm build | |
| - run: pnpm lint | |
| timeout-minutes: 10 | |
| test: | |
| runs-on: ubuntu-latest | |
| name: Test (Node.js ${{ matrix.node_js_version }}, ESLint ${{ matrix.eslint_version }}) | |
| steps: | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: latest | |
| - name: setup repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: setup node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '${{ matrix.node_js_version }}' | |
| - run: pnpm install | |
| - name: Install ESLint ${{ matrix.eslint_version }} | |
| run: pnpm add -D eslint@${{ matrix.eslint_version }} | |
| - run: pnpm test | |
| timeout-minutes: 10 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node_js_version: | |
| - '22.22.2' | |
| - '24.15.0' | |
| - '26' | |
| eslint_version: | |
| - '10' | |
| include: | |
| - node_js_version: '22.22.2' | |
| eslint_version: '9' | |
| build: | |
| runs-on: ubuntu-latest | |
| name: Build | |
| steps: | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: latest | |
| - name: setup repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: setup node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22.14.0' | |
| - run: pnpm install | |
| - run: pnpm build | |
| timeout-minutes: 10 | |
| name: Lint, test and build | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| - ready_for_review |