Skip to content

Commit

Permalink
Merge branch 'mike-north:master' into support-snapshot-adapteroptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Falibur committed Jan 5, 2022
2 parents f4be757 + af84bdb commit 98e0a1f
Show file tree
Hide file tree
Showing 26 changed files with 8,595 additions and 4,447 deletions.
80 changes: 80 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: CI

on:
push:
branches:
- master
- 'v*'
pull_request: {}
schedule:
- cron: '0 3 * * *' # daily, at 3am

jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: volta-cli/action@v1
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --frozen-lockfile
- run: yarn lint:ts
- run: yarn lint:hbs
- run: yarn ember test

floating-deps:
name: Floating Dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: volta-cli/action@v1
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --no-lockfile
- run: yarn ember test

ember-try:
name: Ember Try
needs: [test, floating-deps]
runs-on: ubuntu-latest
strategy:
matrix:
ember-try-scenario:
- ember-lts-3.20
- ember-lts-3.24
- ember-release
- ember-beta
- ember-canary
- ember-default-with-jquery
steps:
- uses: actions/checkout@v1
- uses: volta-cli/action@v1
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --frozen-lockfile
- run: yarn ember try:one ${{ matrix.ember-try-scenario }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# compiled output
/dist/
/tmp/
*.tgz

# dependencies
/bower_components/
Expand Down
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

./node_modules/.bin/commitlint -e $HUSKY_GIT_PARAMS
4 changes: 0 additions & 4 deletions .jscsrc

This file was deleted.

32 changes: 0 additions & 32 deletions .jshintrc

This file was deleted.

20 changes: 8 additions & 12 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,20 @@
/bower_components/

# misc
/.bowerrc
/.editorconfig
/.ember-cli
/.eslintignore
/.eslintrc.js
/.gitignore
/.template-lintrc.js
/.travis.yml
/.watchmanconfig
/bower.json
/tests/
/types/
/.*
/config/ember-try.js
/ember-cli-build.js
/renovate.json
/testem.js
/tests/
/tsconfig.json
/tslint.json
/yarn.lock
/yarn-error.log
.gitkeep
*.tgz

# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/package.json.ember-try
81 changes: 0 additions & 81 deletions .travis.yml

This file was deleted.

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [0.2.9](https://github.com/mike-north/ember-api-actions/compare/v0.2.8...v0.2.9) (2020-04-04)


### Bug Fixes

* **deps:** ember-cli-typescript ([#409](https://github.com/mike-north/ember-api-actions/issues/409)) ([c493a53](https://github.com/mike-north/ember-api-actions/commit/c493a53))

## [0.2.8](https://github.com/mike-north/ember-api-actions/compare/v0.2.7...v0.2.8) (2019-04-11)


Expand Down
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,6 @@ Customizing your adapter should customize requests sent out via this library, al
- [buildURL](http://emberjs.com/api/data/classes/DS.RESTAdapter.html#method_buildURL) - for generating an action's URL
- [ajax](https://github.com/emberjs/data/blob/v1.13.4/packages/ember-data/lib/adapters/rest-adapter.js#L836-L859) (private) - to actually make the API request and return a promise
## Compatibility
This addon is known to work with certain combinations of ember.js and ember-data
| Ember.js | Ember-data |
| ---------------------- | ------------------------------------------------ |
| `1.10 <= ember < 1.13` | `1.0.0-beta.16.0 <= ember-data <= 1.0.0-beta.19` |
| `1.13.x` | `1.13.x` |
| `2.0.x` | `2.0.x` |
## Installation
- `git clone` this repository
Expand Down

0 comments on commit 98e0a1f

Please sign in to comment.