-
-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #371 from ef4/v2-addon
Proposed ember-moment v10
- Loading branch information
Showing
134 changed files
with
5,174 additions
and
3,356 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,61 @@ | ||
name: CI | ||
name: Node CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
schedule: | ||
- cron: '0 3 * * 0' # every Sunday at 3am | ||
|
||
env: | ||
CI: true | ||
tags: | ||
- 'v*' | ||
pull_request: | ||
|
||
jobs: | ||
tests: | ||
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')" | ||
name: Base Tests | ||
timeout-minutes: 5 | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: | ||
- '12' | ||
- '14' | ||
outputs: | ||
matrix: ${{ steps.set-matrix.outputs.matrix }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- 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@v2 | ||
id: yarn-cache | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- run: yarn install | ||
|
||
- name: Test with ${{ matrix.node }} | ||
run: node_modules/.bin/ember test | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-v2 | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- run: yarn --frozen-lockfile | ||
- name: lint | ||
run: yarn lint | ||
- name: test | ||
run: yarn test:ember | ||
- id: set-matrix | ||
run: echo "::set-output name=matrix::$(yarn --silent scenario-tester list --files ./scenarios.js --matrix 'yarn qunit ./scenarios.js --filter %s:')" | ||
working-directory: test-app | ||
|
||
try-scenarios: | ||
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')" | ||
name: 'Compatibility' | ||
timeout-minutes: 7 | ||
compat-scenarios: | ||
needs: test | ||
name: ${{ matrix.name }} | ||
runs-on: ubuntu-latest | ||
needs: tests | ||
|
||
strategy: | ||
fail-fast: true | ||
matrix: | ||
ember-try-scenario: | ||
- ember-classic | ||
- ember-lts-3.16 | ||
- ember-lts-3.20 | ||
- ember-lts-3.24 | ||
- ember-release | ||
- ember-beta | ||
- ember-canary | ||
- embroider-safe | ||
- embroider-optimized | ||
fail-fast: false | ||
matrix: ${{fromJson(needs.test.outputs.matrix)}} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- 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@v2 | ||
id: yarn-cache | ||
with: | ||
node-version: 12.x | ||
- name: install dependencies | ||
run: yarn install | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-v2 | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- run: yarn install --no-lockfile | ||
- name: test | ||
run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup | ||
run: ${{ matrix.command }} | ||
working-directory: test-app |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.