chore: test with latest dependencies #217
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: | |
workflow_call: | |
workflow_dispatch: | |
merge_group: | |
pull_request: | |
paths-ignore: | |
- ".vscode/**" | |
- "**/*.md" | |
- ".github/ISSUE_TEMPLATE/**" | |
# Automatically cancel older in-progress jobs on the same branch | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }} | |
cancel-in-progress: true | |
env: | |
ASTRO_TELEMETRY_DISABLED: true | |
jobs: | |
prelim: | |
name: "Linux - Node 18" | |
uses: ./.github/workflows/test.yml | |
with: | |
node: 18 | |
os: ubuntu-latest | |
check: true | |
Linux: | |
name: "Linux - Node ${{ matrix.NODE_VERSION }}" | |
needs: prelim | |
uses: ./.github/workflows/test.yml | |
with: | |
node: ${{ matrix.NODE_VERSION }} | |
os: ubuntu-latest | |
strategy: | |
matrix: | |
NODE_VERSION: [20, 21] | |
fail-fast: false | |
Windows: | |
name: "Windows - Node 20" | |
needs: prelim | |
uses: ./.github/workflows/test.yml | |
with: | |
node: 20 | |
os: windows-latest | |
macOS: | |
name: "macOS - Node 20" | |
needs: prelim | |
uses: ./.github/workflows/test.yml | |
with: | |
node: 20 | |
os: macos-14 | |
Chrome: | |
name: E2E Tests | |
needs: prelim | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup PNPM | |
uses: pnpm/action-setup@v2 | |
- name: Setup Node 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Install Chromium | |
run: pnpm install:chromium | |
- name: Test | |
run: pnpm run test:e2e --reporter github |