Handle ssr.external: true
for isDepExternaled
(#19)
#65
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 | |
env: | |
# configure corepack | |
COREPACK_DEFAULT_TO_LATEST: 0 | |
COREPACK_ENABLE_AUTO_PIN: 0 | |
# https://github.com/nodejs/corepack/issues/612#issuecomment-2631462297 | |
# This sets the old and new integrity keys for corepack to download different | |
# package managers signed with different keys. | |
COREPACK_INTEGRITY_KEYS: '{"npm":[{"expires":"2025-01-29T00:00:00.000Z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","keytype":"ecdsa-sha2-nistp256","scheme":"ecdsa-sha2-nistp256","key":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1Olb3zMAFFxXKHiIkQO5cJ3Yhl5i6UPp+IhuteBJbuHcA5UogKo0EWtlWwW6KSaKoTNEYL7JlCQiVnkhBktUgg=="},{"expires":null,"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","keytype":"ecdsa-sha2-nistp256","scheme":"ecdsa-sha2-nistp256","key":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEY6Ya7W++7aUPzvMTrezH6Ycx3c+HOKYCcNGybJZSCJq/fd7Qa8uuAKtdIkUQtQiEKERhAmE5lMMJhP8OkDOa2g=="}]}' | |
# configure yarn | |
YARN_ENABLE_IMMUTABLE_INSTALLS: 'false' | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
jobs: | |
test: | |
name: Test | |
timeout-minutes: 5 | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [20] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
pm: ["pnpm@10"] | |
include: | |
- node: 22 | |
os: ubuntu-latest | |
pm: "pnpm@10" | |
- node: 22 | |
os: ubuntu-latest | |
pm: "yarn@4" | |
- node: 22 | |
os: ubuntu-latest | |
pm: "npm@10" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: corepack enable | |
- name: Install dependencies | |
run: corepack ${{matrix.pm}} install | |
- name: Test | |
run: corepack ${{matrix.pm}} test |