build(deps-dev): bump @embroider/test-setup from 2.1.1 to 3.0.2 #399
Workflow file for this run
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
# GitHub Actions documentation: | |
# https://docs.github.com/en/actions | |
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: {} | |
jobs: | |
lint-tests: | |
name: Lint and tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
node-version: 16 | |
# https://github.com/lirantal/lockfile-lint | |
- name: Lint lockfile | |
run: npx lockfile-lint --path yarn.lock --allowed-hosts npm yarn --validate-https | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Lint Addon | |
run: yarn lint | |
working-directory: ember-slugify | |
- name: Lint Test App | |
run: yarn lint | |
working-directory: test-app | |
- name: Build Addon | |
run: yarn build | |
- name: Run Tests | |
run: yarn test:ember | |
floating: | |
name: Floating Dependencies | |
needs: lint-tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
node-version: 16 | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build Addon | |
run: yarn build | |
- name: Run Tests | |
run: yarn test:ember | |
working-directory: test-app | |
try-scenarios: | |
name: ${{ matrix.try-scenario }} | |
needs: lint-tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
strategy: | |
fail-fast: false | |
matrix: | |
try-scenario: | |
- ember-lts-3.28 | |
- ember-lts-4.4 | |
- ember-release | |
# - ember-beta | |
# - ember-canary | |
- ember-classic | |
- embroider-safe | |
- embroider-optimized | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
node-version: 16 | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build Addon | |
run: yarn build | |
- name: Run Tests | |
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} | |
working-directory: test-app | |
concurrency: | |
group: ci-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
# To reuse when the shared workflow will be migrated to V2 Addons structure | |
# name: CI | |
# | |
# on: | |
# push: | |
# branches: | |
# - master | |
# pull_request: {} | |
# | |
# concurrency: | |
# group: ci-${{ github.head_ref || github.ref }} | |
# cancel-in-progress: true | |
# | |
# jobs: | |
# org: | |
# uses: DazzlingFugu/.github/.github/workflows/js--emberjs-addons.yml@master | |
# with: | |
# node-version: 16 | |
# package-manager: yarn | |
# ember-try-scenarios: "[ | |
# 'ember-lts-3.28', | |
# 'ember-lts-4.4', | |
# 'ember-release', | |
# 'ember-beta', | |
# 'ember-canary', | |
# 'ember-classic', | |
# 'embroider-safe', | |
# 'embroider-optimized', | |
# ]" |