Skip to content

Allow arbitrary attributes to be passed #130

Allow arbitrary attributes to be passed

Allow arbitrary attributes to be passed #130

# This file was autogenerated by create-github-actions-setup-for-ember-addons.
#
# You can upgrade the GitHub Actions workflow to the latest blueprints used
# by Create GitHub Actions setup for Ember Addons by running it again:
#
# - `yarn create github-actions-setup-for-ember-addons` if using yarn and
# - `npm init github-actions-setup-for-ember-addons` if using NPM.
#
# See https://github.com/jelhan/create-github-actions-setup-for-ember-addon for
# details.
#
# The following lines contain the configuration used in the last run. Please do
# not change them. Doing so could break upgrade flow.
#
#$ browsers:
#$ - Chrome
#$ emberTryScenarios:
#$ - scenario: ember-lts-3.16
#$ - scenario: ember-lts-3.20
#$ - scenario: ember-release
#$ - scenario: ember-beta
#$ - scenario: ember-canary
#$ - scenario: ember-default
#$ - scenario: ember-default-with-jquery
#$ - scenario: ember-classic
#$ - scenario: embroider-safe
#$ - scenario: embroider-optimized
#$ nodeVersion: '10'
#$ packageManager: yarn
#
name: ember-svg-jar CI
on:
push:
branches:
- master
pull_request:
env:
NODE_VERSION: '18'
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-node@v3
with:
node-version: '${{ env.NODE_VERSION }}'
cache: 'yarn'
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Lint
working-directory: packages/ember-svg-jar
run: yarn lint
test:
name: Tests
runs-on: ${{ matrix.os }}
needs: lint
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
browser: [Chrome]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-node@v3
with:
node-version: '${{ env.NODE_VERSION }}'
cache: 'yarn'
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Test
working-directory: packages/ember-svg-jar
run: |
yarn test:node
yarn test:ember --launch ${{ matrix.browser }}
floating-dependencies:
name: Floating Dependencies
runs-on: ${{ matrix.os }}
needs: lint
strategy:
matrix:
os: [ubuntu-latest]
browser: [Chrome]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-node@v3
with:
node-version: '${{ env.NODE_VERSION }}'
cache: 'yarn'
- name: Install Dependencies
run: yarn install --no-lockfile --non-interactive
- name: Test
working-directory: packages/ember-svg-jar
run: |
yarn test:node
yarn test:ember --launch ${{ matrix.browser }}
try-scenarios:
name: Tests - ${{ matrix.ember-try-scenario }}
runs-on: ubuntu-latest
continue-on-error: true
needs: test
strategy:
fail-fast: true
matrix:
ember-try-scenario:
[
ember-lts-3.20,
ember-lts-3.24,
ember-lts-3.28,
ember-release,
ember-beta,
ember-canary,
ember-default-with-jquery,
ember-classic,
embroider-safe,
embroider-optimized,
]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-node@v3
with:
node-version: '${{ env.NODE_VERSION }}'
cache: 'yarn'
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Test
env:
EMBER_TRY_SCENARIO: ${{ matrix.ember-try-scenario }}
working-directory: packages/ember-svg-jar
run: node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO