Skip to content

Commit

Permalink
Merge pull request #342 from mkszepp/addon-to-v2
Browse files Browse the repository at this point in the history
Addon to V2
  • Loading branch information
mkszepp authored Jan 3, 2024
2 parents 5f3d749 + d653d6b commit 062d0e5
Show file tree
Hide file tree
Showing 314 changed files with 17,063 additions and 50,993 deletions.
15 changes: 0 additions & 15 deletions .ember-cli

This file was deleted.

89 changes: 64 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,56 +6,86 @@ on:
- main
- master
pull_request: {}
schedule:
- cron: "0 3 * * 0" # every Sunday at 3am


concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
lint:
name: Lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2.2.4
with:
version: 8

- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm

- name: 'Install dependencies'
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm --filter ember-power-calendar lint

test:
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
name: "Tests"
runs-on: ubuntu-latest
timeout-minutes: 10
needs: lint

steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2.2.4
with:
version: 8

- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: npm
node-version: 18.x
cache: pnpm

- name: Install Dependencies
run: npm ci
- name: Lint
run: npm run lint
run: pnpm install --frozen-lockfile

- name: Run Tests
run: npm run test:ember
run: pnpm --filter test-app test:ember

floating:
name: "Floating Dependencies"
runs-on: ubuntu-latest
timeout-minutes: 10
needs: lint

steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2.2.4
with:
version: 8

- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: npm
node-version: 18.x
cache: pnpm

- name: Install Dependencies
run: npm install --no-shrinkwrap
run: pnpm install --frozen-lockfile

- name: Run Tests
run: npm run test:ember
run: pnpm --filter test-app test:ember

try-scenarios:
name: ${{ matrix.try-scenario }}
runs-on: ubuntu-latest
needs: "test"
timeout-minutes: 10
continue-on-error: true
needs: test

strategy:
fail-fast: false
Expand All @@ -65,7 +95,7 @@ jobs:
- ember-lts-4.4
- ember-lts-4.8
- ember-lts-4.12
- ember-5.0
- ember-lts-5.4
- ember-release
- ember-beta
- ember-canary
Expand All @@ -74,12 +104,21 @@ jobs:

steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2.2.4
with:
version: 8

- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: npm
node-version: 18.x
cache: pnpm

- name: Install Dependencies
run: npm ci
run: pnpm install --frozen-lockfile

- name: Run Tests
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup
env:
EMBER_TRY_SCENARIO: ${{ matrix.try-scenario }}
run: pnpm --filter test-app test:ember-try $EMBER_TRY_SCENARIO
54 changes: 54 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Docs CI

on:
push:
branches:
- main
- master
pull_request:

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2.2.4
with:
version: 8

- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'pnpm'

- name: 'Install dependencies'
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm --filter docs lint

test:
name: "Tests"
runs-on: ubuntu-latest
needs: lint

steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2.2.4
with:
version: 8

- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm

- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: Run Tests
run: pnpm --filter docs test:ember
30 changes: 10 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,32 +1,22 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist/
/tmp/

# dependencies
/bower_components/
/node_modules/
node_modules/

# misc
/.env*
/.pnp*
/.sass-cache
/.eslintcache
/connect.lock
/coverage/
/libpeerconnection.log
/npm-debug.log*
/testem.log
/yarn-error.log
.env*
.pnp*
.pnpm-debug.log
.sass-cache
.eslintcache
coverage/
npm-debug.log*
yarn-error.log

# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/npm-shrinkwrap.json.ember-try
/package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try
/pnpm-lock.ember-try.yaml

# broccoli-debug
/DEBUG/
1 change: 0 additions & 1 deletion .netlify

This file was deleted.

41 changes: 0 additions & 41 deletions .npmignore

This file was deleted.

1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

6 changes: 6 additions & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
'use strict';

module.exports = {
plugins: ['prettier-plugin-ember-template-tag'],
singleQuote: true,
};
14 changes: 0 additions & 14 deletions .stylelintrc.js

This file was deleted.

3 changes: 0 additions & 3 deletions .watchmanconfig

This file was deleted.

Loading

0 comments on commit 062d0e5

Please sign in to comment.