Add test for config
type in RouteShorthandOptions
#2
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: package-manager-ci | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
pnpm: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# Maintenance and active LTS | |
node-version: [18, 20, 22] | |
os: [ubuntu-latest] | |
pnpm-version: [8] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install with pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: ${{ matrix.pnpm-version }} | |
- run: pnpm install | |
- name: Run tests | |
run: | | |
pnpm run test:ci | |
env: | |
NODE_OPTIONS: no-network-family-autoselection | |
yarn: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# Maintenance and active LTS | |
node-version: [18, 20, 22] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install with yarn | |
run: | | |
curl -o- -L https://yarnpkg.com/install.sh | bash | |
yarn install --ignore-engines | |
- run: yarn | |
- name: Run tests | |
run: | | |
yarn run test:ci | |
env: | |
NODE_OPTIONS: no-network-family-autoselection |