chore: convert esm code to cjs #819
Workflow file for this run
This file contains 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: | |
pull_request: | |
branches: | |
- v3 | |
workflow_dispatch: | |
branches: | |
- v3 | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
e2e: | |
strategy: | |
matrix: | |
os: [macos-13, ubuntu-22.04, windows-2022] | |
node: [21] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "npm" | |
- name: Enable corepack | |
run: corepack enable | |
- name: Install dependencies | |
run: npm ci | |
- name: Check for linting errors | |
run: npm run lint | |
- name: Link module | |
run: npm link nw-builder | |
- name: Prepare test environment | |
run: npm run test:prep | |
# - name: Run Tape tests | |
# run: npm run test:tape | |
# - name: Run ChromeDriver tests | |
# run: npm run test:sanity |