Skip to content

Merge pull request #83 from ef4/pnpm #189

Merge pull request #83 from ef4/pnpm

Merge pull request #83 from ef4/pnpm #189

Workflow file for this run

name: CI
on:
push:
branches:
- master
- main
pull_request:
jobs:
test:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 16
cache: pnpm
- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test
test-no-lock:
name: Floating Dependencies
runs-on: ubuntu-latest
needs:
- test
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 16
cache: pnpm
- name: Install dependencies
run: pnpm i --no-lockfile
- name: Test
run: pnpm test
test-try:
name: Additional Tests
runs-on: ubuntu-latest
needs:
- test
strategy:
fail-fast: false
matrix:
scenario:
- ember-lts-3.20
- ember-lts-3.24
- ember-release
- ember-beta
- ember-canary
- embroider-safe
- embroider-optimized
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 16
cache: pnpm
- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: Test
run: pnpm ember try:one ${{ matrix.scenario }}