Update dependency msw to v2 #2900
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: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: {} | |
concurrency: | |
group: ci-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
env: | |
# renovate: datasource=npm depName=pnpm | |
PNPM_VERSION: 8.15.9 | |
jobs: | |
test: | |
name: "Tests" | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/[email protected] | |
- uses: pnpm/[email protected] | |
with: | |
version: ${{ env.PNPM_VERSION }} | |
- uses: actions/[email protected] | |
with: | |
node-version: 16.x | |
cache: pnpm | |
- run: pnpm install | |
- run: pnpm lint | |
- run: pnpm test | |
floating: | |
name: "Floating Dependencies" | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/[email protected] | |
- uses: pnpm/[email protected] | |
with: | |
version: ${{ env.PNPM_VERSION }} | |
- uses: actions/[email protected] | |
with: | |
node-version: 16.x | |
cache: pnpm | |
- run: pnpm install --no-lockfile | |
- run: pnpm test | |
try-scenarios: | |
name: ${{ matrix.try-scenario }} | |
runs-on: ubuntu-latest | |
needs: "test" | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
try-scenario: | |
- ember-data-3.28 | |
- ember-data-4.4 | |
- ember-data-4.7 | |
- ember-data-4.8 | |
- ember-data-4.11 | |
- ember-data-4.12 | |
- embroider-safe | |
- embroider-optimized | |
steps: | |
- uses: actions/[email protected] | |
- uses: pnpm/[email protected] | |
with: | |
version: ${{ env.PNPM_VERSION }} | |
- uses: actions/[email protected] | |
with: | |
node-version: 16.x | |
cache: pnpm | |
- run: pnpm install | |
- run: pnpm ember try:one ${{ matrix.try-scenario }} --skip-cleanup |