From 928c9168befe4fedb7357abacd9d14eded18be5d Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Wed, 3 Nov 2021 11:51:47 +0100 Subject: [PATCH 1/3] Update transitive `moment` dependency --- yarn.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/yarn.lock b/yarn.lock index d2defbde..71ce5ecd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8079,16 +8079,16 @@ moment-timezone@^0.3.0: moment ">= 2.6.0" moment-timezone@^0.5.13: - version "0.5.27" - resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.27.tgz#73adec8139b6fe30452e78f210f27b1f346b8877" - integrity sha512-EIKQs7h5sAsjhPCqN6ggx6cEbs94GK050254TIJySD1bzoM5JTYDwAU1IoVOeTOL6Gm27kYJ51/uuvq1kIlrbw== + version "0.5.33" + resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.33.tgz#b252fd6bb57f341c9b59a5ab61a8e51a73bbd22c" + integrity sha512-PTc2vcT8K9J5/9rDEPe5czSIKgLoGsH8UNpA4qZTVw0Vd/Uz19geE9abbIOQKaAQFcnQ3v5YEXrbSc5BpshH+w== dependencies: moment ">= 2.9.0" "moment@>= 2.6.0", "moment@>= 2.9.0", moment@^2.19.3: - version "2.24.0" - resolved "https://registry.yarnpkg.com/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b" - integrity sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg== + version "2.29.1" + resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3" + integrity sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ== morgan@^1.9.1: version "1.9.1" From 951e0b932f2aa1c3344b3e8a6f44dab6b614a65c Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Wed, 3 Nov 2021 11:31:29 +0100 Subject: [PATCH 2/3] CI: Add GitHub Actions config --- .github/workflows/ci.yml | 65 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..f866b45f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,65 @@ +name: CI + +on: + push: + branches: + - main + - master + pull_request: + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 10.x + cache: yarn + + - run: yarn install + - run: yarn lint:hbs + - run: yarn lint:js + + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 10.x + cache: yarn + + - run: yarn install + - run: yarn test + + try-scenarios: + name: ${{ matrix.try-scenario }} + runs-on: ubuntu-latest + needs: ['lint', 'test'] + + strategy: + fail-fast: false + matrix: + try-scenario: + - ember-lts-2.16 + - ember-lts-2.18 + - ember-lts-3.4 + - ember-lts-3.8 + # temporarily disabled because they are currently failing + # - ember-release + # - ember-beta + # - ember-canary + - ember-default-with-jquery + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 10.x + cache: yarn + + - run: yarn + - run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} From 233f7736d7c748f88c1a93dbd355837a3d5eb4c4 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Wed, 3 Nov 2021 12:00:40 +0100 Subject: [PATCH 3/3] Remove obsolete TravisCI config --- .travis.yml | 68 ----------------------------------------------------- 1 file changed, 68 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 01b5f693..00000000 --- a/.travis.yml +++ /dev/null @@ -1,68 +0,0 @@ ---- -language: node_js -node_js: - # we recommend testing addons with the same minimum supported node version as Ember CLI - # so that your addon works for all apps - - '10' - -sudo: false -dist: trusty - -addons: - chrome: stable - code_climate: - repo_token: 32e4df25574ba02aacb75e6d34b9c667044984df279e20a208884d7e9e9d4a8d - -cache: - yarn: true - -env: - global: - # See https://git.io/vdao3 for details. - - JOBS=1 - -branches: - only: - - master - # npm version tags - - /^v\d+\.\d+\.\d+/ - -jobs: - fail_fast: true - allow_failures: - - env: EMBER_TRY_SCENARIO=ember-canary - - env: EMBER_TRY_SCENARIO=ember-beta - - include: - # runs linting and tests with current locked deps - - - stage: 'Tests' - name: 'Tests' - script: - - yarn run lint:hbs - - yarn run lint:js - - yarn test - after_script: - - codeclimate-test-reporter < coverage/lcov.info - - # we recommend new addons test the current and previous LTS - # as well as latest stable release (bonus points to beta/canary) - - stage: 'Additional Tests' - env: EMBER_TRY_SCENARIO=ember-lts-2.16 - - env: EMBER_TRY_SCENARIO=ember-lts-2.18 - - env: EMBER_TRY_SCENARIO=ember-lts-3.4 - - env: EMBER_TRY_SCENARIO=ember-lts-3.8 - - env: EMBER_TRY_SCENARIO=ember-release - - env: EMBER_TRY_SCENARIO=ember-beta - - env: EMBER_TRY_SCENARIO=ember-canary - - env: EMBER_TRY_SCENARIO=ember-default-with-jquery - -before_install: - - curl -o- -L https://yarnpkg.com/install.sh | bash - - export PATH=$HOME/.yarn/bin:$PATH - -install: - - yarn install --no-lockfile --non-interactive - -script: - - node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO