Skip to content

Lock file maintenance (#2024) #6111

Lock file maintenance (#2024)

Lock file maintenance (#2024) #6111

Workflow file for this run

name: CI
on:
push:
branches:
- master
- 'v*'
pull_request: {}
schedule:
- cron: '0 3 * * *' # daily, at 3am
env:
PNPM_VERSION: 7.33.6
jobs:
docs:
name: API docs
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: ${{ env.PNPM_VERSION }}
- uses: actions/[email protected]
with:
node-version: 16
cache: pnpm
- run: pnpm install
- run: pnpm run docs
# ensure there are no changes compared to the current API.md
- run: git diff --exit-code
test:
strategy:
matrix:
node: ['14', '16', '18']
name: Tests (Node.js v${{ matrix.node }})
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: ${{ env.PNPM_VERSION }}
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
cache: pnpm
- run: pnpm install
- run: pnpm lint
- run: pnpm build
- run: pnpm test:coverage --runInBand
- run: pnpm test:ember
compatibility:
name: "Tests (Ember.js, ember-try: ${{ matrix.ember-try-scenario }}, Embroider: ${{ matrix.embroider }})"
runs-on: ubuntu-latest
strategy:
matrix:
embroider: ["true", "false"]
ember-try-scenario:
- ember-qunit-4
- ember-qunit-5
- ember-lts-3.28
steps:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: ${{ env.PNPM_VERSION }}
- uses: actions/[email protected]
with:
node-version: 16
cache: pnpm
- run: pnpm install
- run: pnpm build
- run: pnpm ember try:one ${{ matrix.ember-try-scenario}} -- --config-path tests/dummy/config/ember-try.js
env:
USE_EMBROIDER: "${{ matrix.embroider }}"