Skip to content

Merge pull request #100 from josemarluedke/dep/update-ci #241

Merge pull request #100 from josemarluedke/dep/update-ci

Merge pull request #100 from josemarluedke/dep/update-ci #241

Workflow file for this run

name: CI
on:
push:
branches:
- main
- 'v*'
pull_request: {}
env:
CI: 'true'
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4
with:
node-version: 22.x
yarn-version: 1.x
- run: yarn install --frozen-lockfile --non-interactive
- run: yarn lint:js
- run: yarn build
package-tests:
name: Glimmer Apollo Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4
with:
node-version: 22.x
yarn-version: 1.x
- run: yarn install --frozen-lockfile --non-interactive
- run: yarn build
- name: Test Glimmer Apollo
run: yarn workspace glimmer-apollo run test
- name: Test App
run: yarn workspace test-app run test
try-scenarios:
name: ${{ matrix.ember-try-scenario }}
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
ember-try-scenario:
- ember-4.12
- ember-release
- ember-beta
- ember-canary
- ember-embroider
steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4
with:
node-version: 22.x
yarn-version: 1.x
- run: yarn install --frozen-lockfile --non-interactive
- run: yarn build
- name: Test
env:
EMBER_TRY_SCENARIO: ${{ matrix.ember-try-scenario }}
run: yarn workspace test-app run ember try:one $EMBER_TRY_SCENARIO
typescript:
name: ${{ matrix.typescript }}
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
typescript:
- typescript@~4.9.0
- typescript@~5.6.0
- typescript@next
steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v4
with:
node-version: 22.x
yarn-version: 1.x
- run: yarn install --frozen-lockfile --non-interactive
- run: yarn build
- run: |
yarn add --dev ${{ matrix.typescript }}
yarn tsc --version
working-directory: packages/glimmer-apollo
- run: yarn test:types